diff options
author | skrll <skrll@pkgsrc.org> | 2001-05-04 10:15:44 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2001-05-04 10:15:44 +0000 |
commit | 464082f47dd509103a2864545bd862cbdebf2980 (patch) | |
tree | 55ae0330bab3ebcd75bf7887e849ed24ee3fec5e /lang/pgcc | |
parent | 54e8778fd7c465783eaa798d195f843314293a5f (diff) | |
download | pkgsrc-464082f47dd509103a2864545bd862cbdebf2980.tar.gz |
Add --enable-shared to the configuration phase so that a shared libstdc++
gets built.
Add makefile fragments to do the right thing for elf and a.out. Make sure
they are used.
Add @exec/@unexec install-info to the PLIST.
Fixes pkg/12154 from Olaf Seibert <rhialto@polderland.nl>
Diffstat (limited to 'lang/pgcc')
-rw-r--r-- | lang/pgcc/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/pgcc/Makefile b/lang/pgcc/Makefile index 011ecdfa1f7..6e2cf1e6b92 100644 --- a/lang/pgcc/Makefile +++ b/lang/pgcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2001/04/30 21:07:02 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2001/05/04 10:15:46 skrll Exp $ DISTNAME= gcc-2.95.2 PKGNAME= pgcc-2.95.2.1 @@ -37,7 +37,8 @@ MACHINE_GCC_PLATFORM= ${MACHINE_GNU_PLATFORM} USE_GMAKE= YES HAS_CONFIGURE= YES CONFIGURE_ARGS= --host=${MACHINE_GCC_PLATFORM} \ - --prefix=${GCC_PREFIX} + --prefix=${GCC_PREFIX} \ + --enable-shared CONFIGURE_SCRIPT= ${SRCDIR}/configure # For pgcc, GCC_VERSION is actually the name of a subdirectory in the gcc @@ -73,6 +74,7 @@ CONFLICTS+= gcc-[0-9]* pgcc-[0-9]* post-extract: ${MKDIR} ${WRKSRC} + ${CP} ${FILESDIR}/netbsd*.ml ${WRKSRC}/../${DISTNAME}/libstdc++/config post-patch: ${ECHO} "bogus" >${WRKSRC}/../${DISTNAME}/gcc/cstamp-h.in |