summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbacon <bacon@pkgsrc.org>2020-03-13 15:00:36 +0000
committerbacon <bacon@pkgsrc.org>2020-03-13 15:00:36 +0000
commit99b0b7a59e5ca722fa9b81b6ee1d9b85707cb7af (patch)
tree581dafddb70caa782f212eb37f42dc14952b6629
parent91f72f5c421ce936f961133bdf12e90c709110ea (diff)
downloadpkgsrc-99b0b7a59e5ca722fa9b81b6ee1d9b85707cb7af.tar.gz
lang/gcc7: Fix build on RHEL/CentOS by requiring c99
Also bump PKGREVISION for lang/gcc7-libs per comment in Makefile
-rw-r--r--lang/gcc7-libs/Makefile4
-rw-r--r--lang/gcc7/Makefile5
2 files changed, 5 insertions, 4 deletions
diff --git a/lang/gcc7-libs/Makefile b/lang/gcc7-libs/Makefile
index 34518b4c330..0e2b68779c3 100644
--- a/lang/gcc7-libs/Makefile
+++ b/lang/gcc7-libs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2020/03/03 12:58:42 adam Exp $
+# $NetBSD: Makefile,v 1.9 2020/03/13 15:00:36 bacon Exp $
GCC_PKGNAME= gcc7
.include "../../lang/${GCC_PKGNAME}/version.mk"
@@ -9,7 +9,7 @@ PKGNAME= ${GCC_PKGNAME}-libs-${GCC7_DIST_VERSION}
## The PKGREVISION of this package needs to be at least 1 more than the
## PKGREVISION of the lang/gcc7 package so that with the dependence pattern
## '{gcc7,gcc7-libs}>=7.5.*' pkg_add will choose gcc7-libs over gcc7.
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= # empty
diff --git a/lang/gcc7/Makefile b/lang/gcc7/Makefile
index ebf008e7aed..482a0fdb81b 100644
--- a/lang/gcc7/Makefile
+++ b/lang/gcc7/Makefile
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.27 2020/03/03 12:58:42 adam Exp $
+# $NetBSD: Makefile,v 1.28 2020/03/13 15:00:36 bacon Exp $
GCC_PKGNAME= gcc7
.include "version.mk"
DISTNAME= gcc-${GCC7_DIST_VERSION}
PKGNAME= ${GCC_PKGNAME}-${GCC7_DIST_VERSION}
+PKGREVISION= 1
## When bumping the PKGREVISION of this package the PKGREVISION of
## lang/gcc7-libs needs to be bump to be at least 1 more than the
## PKGREVISION of this package!
@@ -22,7 +23,7 @@ DISTFILES= ${DEFAULT_DISTFILES}
NOT_FOR_PLATFORM= Interix-*-*
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c99 c++
USE_TOOLS+= gmake makeinfo perl sed:run tar:build
USE_TOOLS.NetBSD+= gsed