From 611153bf50372e2af081802e1fc20f4250cbb227 Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 9 Oct 1999 16:50:24 +0000 Subject: Be pedantic about passing correct linker flags. --- x11/kdelibs/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'x11/kdelibs') 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" -- cgit v1.2.3