summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin>2017-07-07 14:52:30 +0000
committerjperkin <jperkin>2017-07-07 14:52:30 +0000
commite100e88d94340985e121971346ace46b9392f254 (patch)
tree8de6ee5e3998793205598c85d56ecf34ac07c2db
parent8e9c266e57ac7c5226d74dacfa49bd15b1854ff1 (diff)
downloadpkgsrc-e100e88d94340985e121971346ace46b9392f254.tar.gz
Explicitly disable mkostemp on SunOS. It was shipped as part of libc for
a while without the corresponding entry in stdlib.h, thus falling foul of -Werror=implicit-function-declaration checks.
-rw-r--r--lang/gcc5/Makefile3
-rw-r--r--lang/gcc6/Makefile3
-rw-r--r--lang/gcc7/Makefile3
3 files changed, 6 insertions, 3 deletions
diff --git a/lang/gcc5/Makefile b/lang/gcc5/Makefile
index 420cb21e933..5b15da7289d 100644
--- a/lang/gcc5/Makefile
+++ b/lang/gcc5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2017/06/22 21:44:49 maya Exp $
+# $NetBSD: Makefile,v 1.20 2017/07/07 14:52:30 jperkin Exp $
GCC_PKGNAME= gcc5
PKGREVISION= 3
@@ -104,6 +104,7 @@ MAKE_ENV.NetBSD+= ac_cv_func_gethostbyname_r=no
MAKE_ENV.NetBSD+= ac_cv_func_freelocale=no
MAKE_ENV.NetBSD+= ac_cv_func_newlocale=no
MAKE_ENV.NetBSD+= ac_cv_func_uselocale=no
+MAKE_ENV.SunOS+= ac_cv_func_mkostemp=no
CONFIGURE_ARGS.DragonFly+= --disable-bootstrap
diff --git a/lang/gcc6/Makefile b/lang/gcc6/Makefile
index cd82abcba4a..bdaecf91cb5 100644
--- a/lang/gcc6/Makefile
+++ b/lang/gcc6/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2017/07/04 21:56:40 maya Exp $
+# $NetBSD: Makefile,v 1.8 2017/07/07 14:52:30 jperkin Exp $
GCC_PKGNAME= gcc6
.include "version.mk"
@@ -103,6 +103,7 @@ MAKE_ENV.NetBSD+= ac_cv_func_gethostbyname_r=no
MAKE_ENV.NetBSD+= ac_cv_func_freelocale=no
MAKE_ENV.NetBSD+= ac_cv_func_newlocale=no
MAKE_ENV.NetBSD+= ac_cv_func_uselocale=no
+MAKE_ENV.SunOS+= ac_cv_func_mkostemp=no
CONFIGURE_ARGS.DragonFly+= --disable-bootstrap
diff --git a/lang/gcc7/Makefile b/lang/gcc7/Makefile
index 6e2a5404827..1df23c60577 100644
--- a/lang/gcc7/Makefile
+++ b/lang/gcc7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2017/07/04 12:46:52 adam Exp $
+# $NetBSD: Makefile,v 1.9 2017/07/07 14:52:31 jperkin Exp $
GCC_PKGNAME= gcc7
.include "version.mk"
@@ -104,6 +104,7 @@ MAKE_ENV.NetBSD+= ac_cv_func_gethostbyname_r=no
MAKE_ENV.NetBSD+= ac_cv_func_freelocale=no
MAKE_ENV.NetBSD+= ac_cv_func_newlocale=no
MAKE_ENV.NetBSD+= ac_cv_func_uselocale=no
+MAKE_ENV.SunOS+= ac_cv_func_mkostemp=no
CONFIGURE_ARGS.DragonFly+= --disable-bootstrap