summaryrefslogtreecommitdiff
path: root/x11/kdelibs
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>1999-10-09 16:50:24 +0000
committerjlam <jlam@pkgsrc.org>1999-10-09 16:50:24 +0000
commit611153bf50372e2af081802e1fc20f4250cbb227 (patch)
tree2b1fcb6f15c6c178f6677bde1086501498d4d1ce /x11/kdelibs
parent33cb4e14bd509f613c59931dd0a26553d5c14206 (diff)
downloadpkgsrc-611153bf50372e2af081802e1fc20f4250cbb227.tar.gz
Be pedantic about passing correct linker flags.
Diffstat (limited to 'x11/kdelibs')
-rw-r--r--x11/kdelibs/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/x11/kdelibs/Makefile b/x11/kdelibs/Makefile
index d7ba5cf15ed..8df1272a673 100644
--- a/x11/kdelibs/Makefile
+++ b/x11/kdelibs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 1999/10/08 21:12:53 jlam Exp $
+# $NetBSD: Makefile,v 1.41 1999/10/09 16:50:24 jlam Exp $
# FreeBSD Id: Makefile,v 1.5 1997/11/27 00:25:46 se Exp
#
@@ -21,9 +21,9 @@ USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOL_FLAGS= --cplusplus --install-la
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= "--datadir=${PREFIX}/share/kde" \
- "--with-qt-dir=${PREFIX}" \
- "--with-qt-includes=${PREFIX}/include/qt"
+CONFIGURE_ARGS= --datadir=${PREFIX}/share/kde \
+ --with-qt-dir=${PREFIX} \
+ --with-qt-includes=${PREFIX}/include/qt
CFLAGS+= -I${LOCALBASE}/include
.include "../../mk/bsd.prefs.mk"
@@ -36,6 +36,8 @@ post-install:
@${GREP} -v ^lib/lib.*\.so ${PKGDIR}/PLIST >${PLIST_SRC}
.endif
-CONFIGURE_ENV= CXXFLAGS="${CFLAGS}" all_libraries="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= KDEDIR=${PREFIX} \
+ CXXFLAGS="${CFLAGS}" \
+ all_libraries="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib"
.include "../../mk/bsd.pkg.mk"