hello again

here's another patch to:
- fix build when kdelibs3 are installed (i don't know, actually, if all those 
flags are needed, but they probably are, and they're safe, anyway)
- add support for make jobs (-j3 tested)
-- 
Alberto Villa <villa.albe...@gmail.com>

An economist is a man who would marry
Farrah Fawcett-Majors for her money.
--- /home/albi/development/operating_systems/projects/freebsd/ports/kde-area_51/editors/koffice-kde4/Makefile	2009-08-19 11:46:24.529843679 +0200
+++ Makefile	2009-08-20 09:35:25.973422147 +0200
@@ -41,6 +41,7 @@
 # RUN_DEPENDS=	${LOCALBASE}/lib/libpqxx.a:${PORTSDIR}/databases/postgresql-libpqxx
 
 USE_BZIP2=	yes
+MAKE_JOBS_SAFE=	yes
 USE_CMAKE=	yes
 KDE4_BUILDENV=	yes
 USE_KDE4=	kdelibs pimlibs kdehier kdeprefix sharedmime automoc4
@@ -53,7 +54,10 @@
 USE_MYSQL=	yes
 USE_PGSQL=	yes
 
-CMAKE_ARGS+=	-DCMAKE_INCLUDE_PATH:STRING="${LOCALBASE}/include"
+CMAKE_ARGS+=	-DCMAKE_EXE_LINKER_FLAGS:STRING="-L${KDE4_PREFIX}/lib -L${LOCALBASE}/lib" \
+		-DCMAKE_INCLUDE_PATH:PATH="${LOCALBASE}/include" \
+		-DCMAKE_MODULE_LINKER_FLAGS:STRING="-L${KDE4_PREFIX}/lib -L${LOCALBASE}/lib" \
+		-DCMAKE_SHARED_LINKER_FLAGS:STRING="-L${KDE4_PREFIX}/lib -L${LOCALBASE}/lib"
 
 .include <bsd.port.pre.mk>
 
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to