diff options
author | jlam <jlam> | 1999-10-09 16:50:24 +0000 |
---|---|---|
committer | jlam <jlam> | 1999-10-09 16:50:24 +0000 |
commit | 4c3853d9eeeec22947cc18663fa18c7e63a4eda1 (patch) | |
tree | 2b1fcb6f15c6c178f6677bde1086501498d4d1ce /x11/kdelibs | |
parent | db31a04c21a601298eafd57b1c1b54c4a3499276 (diff) | |
download | pkgsrc-4c3853d9eeeec22947cc18663fa18c7e63a4eda1.tar.gz |
Be pedantic about passing correct linker flags.
Diffstat (limited to 'x11/kdelibs')
-rw-r--r-- | x11/kdelibs/Makefile | 12 |
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" |