diff options
author | tron <tron> | 1999-07-09 23:38:40 +0000 |
---|---|---|
committer | tron <tron> | 1999-07-09 23:38:40 +0000 |
commit | 35045979a2166106d67fc5454461d2023d4ea638 (patch) | |
tree | 71b591544e5192f0eb7ba3b0314bf8c4b7714974 /x11/kdelibs | |
parent | 6cbe2668ff51f65ddb4aa9f6ca93fc5abb39fc23 (diff) | |
download | pkgsrc-35045979a2166106d67fc5454461d2023d4ea638.tar.gz |
Build all libraries static on sparc a.out systems because "c++rt0.o"
kludge doesn't work.
Diffstat (limited to 'x11/kdelibs')
-rw-r--r-- | x11/kdelibs/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/x11/kdelibs/Makefile b/x11/kdelibs/Makefile index 113409c0575..6f012bbea75 100644 --- a/x11/kdelibs/Makefile +++ b/x11/kdelibs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 1999/07/09 22:43:08 tron Exp $ +# $NetBSD: Makefile,v 1.36 1999/07/09 23:38:40 tron Exp $ # FreeBSD Id: Makefile,v 1.5 1997/11/27 00:25:46 se Exp # @@ -25,13 +25,17 @@ CONFIGURE_ARGS= "--datadir=${PREFIX}/share/kde" \ "--with-qt-dir=${PREFIX}" \ "--with-qt-includes=${PREFIX}/include/qt" CFLAGS+= -I${LOCALBASE}/include -CONFIGURE_ENV= CXXFLAGS="${CFLAGS}" \ - all_libraries="-L${LOCALBASE}/lib" .include "../../mk/bsd.prefs.mk" -.if (${OBJECT_FMT} == "a.out") -NOT_FOR_PLATFORM= NetBSD-*-sparc* +.if (${OBJECT_FMT} == "a.out") && (${MACHINE_ARCH} == "sparc") +CFLAGS+= -static +PLIST_SRC= ${WRKDIR}/PLIST + +post-install: + @${GREP} -v ^lib/lib.*\.so ${PKGDIR}/PLIST >${PLIST_SRC} .endif +CONFIGURE_ENV= CXXFLAGS="${CFLAGS}" all_libraries="-L${LOCALBASE}/lib" + .include "../../mk/bsd.pkg.mk" |