diff options
author | maya <maya@pkgsrc.org> | 2017-07-09 05:30:41 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2017-07-09 05:30:41 +0000 |
commit | 89a8238677e0a03f489932a64d2febad0a3d452d (patch) | |
tree | 67f2ac370c24d8df2d558121e06b7e37388bb42e /lang/gcc49 | |
parent | 510d23427b8c52c153c7d29e80930119dbe9ce0e (diff) | |
download | pkgsrc-89a8238677e0a03f489932a64d2febad0a3d452d.tar.gz |
gcc{48,49,5,7}: on netbsd only, bump libstdc++ major to 7.
bump pkgrevision.
while here, synchronize libssp comment to a clearer one.
bump gcc*-lib revision to be one higher.
Diffstat (limited to 'lang/gcc49')
-rw-r--r-- | lang/gcc49/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/lang/gcc49/Makefile b/lang/gcc49/Makefile index a85f733373b..8cc48dcd961 100644 --- a/lang/gcc49/Makefile +++ b/lang/gcc49/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2017/06/22 21:44:49 maya Exp $ +# $NetBSD: Makefile,v 1.19 2017/07/09 05:30:41 maya Exp $ GCC_PKGNAME= gcc49 .include "version.mk" @@ -9,7 +9,7 @@ PKGNAME= ${GCC_PKGNAME}-${GCC49_DIST_VERSION} ## When bumping the PKGREVISION of this package the PKGREVISION of ## lang/gcc49-libs needs to be bump to be at least 1 more than the ## PKGREVISION of this package! -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC49_DIST_VERSION}/} EXTRACT_SUFX= .tar.bz2 @@ -72,10 +72,17 @@ CHECK_SHLIBS_SKIP+= ${GCC_PKGNAME}/lib*/libgcj_bc.so* ## For target librarys and libjava programs. CONFIGURE_ENV+= LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET:Q} -.if !empty(MACHINE_PLATFORM:MNetBSD-*-*) # use the native SSP code in netbsd libc, gcc libssp conflicts with it. -CONFIGURE_ARGS+= --disable-libssp +.if !empty(MACHINE_PLATFORM:MNetBSD-*-*) +# native SSP conflicts with gcc's libssp +CONFIGURE_ARGS+= --disable-libssp +# Match base libstdc++ major +SUBST_CLASSES+= libstdc +SUBST_STAGE.libstdc= pre-configure +SUBST_FILES.libstdc= libstdc++-v3/configure +SUBST_MESSAGE.libstdc= Bumping libstdc++ major to 7 +SUBST_SED.libstdc= -e 's,libtool_VERSION=6:,libtool_VERSION=7:,g' .else -CONFIGURE_ARGS+= --enable-libssp +CONFIGURE_ARGS+= --enable-libssp .endif CONFIGURE_ARGS+= --enable-languages=${LANGS:Q} |