pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gmake: limit posix-spawn workaround to NetBSD<10
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Sun May 2 14:15:40 2021 +0200
Changeset: 804e8b042932d8f71b334b212df19ed464cb9476
Modified Files:
gmake/Makefile
Log Message:
gmake: limit posix-spawn workaround to NetBSD<10
Add perl test dependency.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=804e8b042932d8f71b334b212df19ed464cb9476
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gmake/Makefile | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diffs:
diff --git a/gmake/Makefile b/gmake/Makefile
index 1f118c9cf9..f2920a1a1f 100644
--- a/gmake/Makefile
+++ b/gmake/Makefile
@@ -17,10 +17,8 @@ GNU_CONFIGURE= yes
TEXINFO_REQD+= 4.0
INFO_FILES= yes
-# NOTE: the 'test' target requires perl, but since gmake does
-# not otherwise require it, perl is not listed as an explicit
-# dependency
TEST_TARGET= check
+USE_TOOLS+= perl:test
CONFIGURE_ARGS+= --program-prefix=g
@@ -31,7 +29,12 @@ CONFIGURE_ARGS.MirBSD+= ac_cv_func_strndup=no
# XXX: based on possible /dev/kmem permissions.
CONFIGURE_ARGS+= ac_cv_func_getloadavg_setgid=no
+.include "../../mk/bsd.prefs.mk"
+
+# kernel bug, fixed in NetBSD 9.99.82
+.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-9].*)
CONFIGURE_ARGS.NetBSD+= --disable-posix-spawn
+.endif
AUTO_MKDIRS= yes
Home |
Main Index |
Thread Index |
Old Index