diff options
author | tron <tron> | 1999-07-09 23:38:40 +0000 |
---|---|---|
committer | tron <tron> | 1999-07-09 23:38:40 +0000 |
commit | bb5df63b517698f1c429bd8b1aebf92b93ba17e4 (patch) | |
tree | 71b591544e5192f0eb7ba3b0314bf8c4b7714974 /x11/kdelibs | |
parent | 037935caee2d2baf0518fa0c7e310cf67cb352e0 (diff) | |
download | pkgsrc-bb5df63b517698f1c429bd8b1aebf92b93ba17e4.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" |