diff options
author | ryoon <ryoon@pkgsrc.org> | 2016-02-06 22:19:55 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2016-02-06 22:19:55 +0000 |
commit | f63fc10f11748cf7dac5ecb8dfb8f8290ec49851 (patch) | |
tree | a5847f927f02e8c61ad103fbef5e713f0a0b55d4 /lang | |
parent | f5803d1446b1f788f2f931e4599e9bd3d42d621c (diff) | |
download | pkgsrc-f63fc10f11748cf7dac5ecb8dfb8f8290ec49851.tar.gz |
Do not generate fixed include files under NetBSD. Bump PKGREVISION
Fix graphics/cairo build failure (ssp.h not found error) as outer compiler.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc5-libs/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc5/Makefile | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/lang/gcc5-libs/Makefile b/lang/gcc5-libs/Makefile index a8009ba56bc..ca78043ce13 100644 --- a/lang/gcc5-libs/Makefile +++ b/lang/gcc5-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2015/12/11 12:31:04 ryoon Exp $ +# $NetBSD: Makefile,v 1.5 2016/02/06 22:19:55 ryoon Exp $ GCC_PKGNAME= gcc5 .include "../../lang/${GCC_PKGNAME}/version.mk" @@ -9,7 +9,7 @@ PKGNAME= ${GCC_PKGNAME}-libs-${GCC5_DIST_VERSION} ## The PKGREVISION of this package needs to be at least 1 more than the ## PKGREVISION of the lang/gcc5 package so that with the dependence pattern ## '{gcc5,gcc5-libs}>=5.1.*' pkg_add will choose gcc5-libs over gcc5. -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= lang MASTER_SITES= # empty diff --git a/lang/gcc5/Makefile b/lang/gcc5/Makefile index e30732dbb6f..17c3846addf 100644 --- a/lang/gcc5/Makefile +++ b/lang/gcc5/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.7 2015/12/11 12:31:03 ryoon Exp $ +# $NetBSD: Makefile,v 1.8 2016/02/06 22:19:55 ryoon Exp $ GCC_PKGNAME= gcc5 .include "version.mk" +PKGREVISION= 1 DISTNAME= gcc-${GCC5_DIST_VERSION} PKGNAME= ${GCC_PKGNAME}-${GCC5_DIST_VERSION} @@ -64,6 +65,14 @@ BOOT_LDFLAGS+= ${LDFLAGS:M-Wl,-syslibroot*} # GCC does not understand this option; remove it, or stage build will fail BUILDLINK_TRANSFORM+= rm:-stdlib=libc++ +# Avoid ssp.h not found error. +.if !empty(MACHINE_PLATFORM:MNetBSD-*-*) +SUBST_CLASSES+= fixinc +SUBST_STAGE.fixinc= pre-configure +SUBST_FILES.fixinc= gcc/Makefile.in +SUBST_SED.fixinc= -e "s,\./fixinc.sh,-c true," +.endif + .include "options.mk" ## For graphite support. |