pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gmake: Disable posix_spawn(3) under NetBSD



Module Name:	pkgsrc-wip
Committed By:	Ryo ONODERA <ryoon%NetBSD.org@localhost>
Pushed By:	ryoon
Date:		Sat May 1 17:07:50 2021 +0900
Changeset:	2e2ca90a110b22d203db4dde81a139a9b6d1311c

Modified Files:
	gmake/Makefile

Log Message:
gmake: Disable posix_spawn(3) under NetBSD

gmake-4.3 uses posix_spawn instead of older fork/exec.
posix_spawn use under NetBSD causes runtime errors.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2e2ca90a110b22d203db4dde81a139a9b6d1311c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gmake/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diffs:
diff --git a/gmake/Makefile b/gmake/Makefile
index e9069639d7..1f118c9cf9 100644
--- a/gmake/Makefile
+++ b/gmake/Makefile
@@ -2,6 +2,7 @@
 
 DISTNAME=	make-4.3
 PKGNAME=	g${DISTNAME}
+PKGREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GNU:=make/}
 
@@ -30,6 +31,8 @@ CONFIGURE_ARGS.MirBSD+=	ac_cv_func_strndup=no
 # XXX: based on possible /dev/kmem permissions.
 CONFIGURE_ARGS+=	ac_cv_func_getloadavg_setgid=no
 
+CONFIGURE_ARGS.NetBSD+=	--disable-posix-spawn
+
 AUTO_MKDIRS=		yes
 
 .include "options.mk"


Home | Main Index | Thread Index | Old Index