pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gmake



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Apr  2 11:29:27 UTC 2025

Modified Files:
        pkgsrc/devel/gmake: Makefile

Log Message:
gmake: Fix build on UnixWare 7 Definitive 2018.


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 pkgsrc/devel/gmake/Makefile

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

Modified files:

Index: pkgsrc/devel/gmake/Makefile
diff -u pkgsrc/devel/gmake/Makefile:1.125 pkgsrc/devel/gmake/Makefile:1.126
--- pkgsrc/devel/gmake/Makefile:1.125   Sun Mar 30 21:10:41 2025
+++ pkgsrc/devel/gmake/Makefile Wed Apr  2 11:29:27 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.125 2025/03/30 21:10:41 wiz Exp $
+# $NetBSD: Makefile,v 1.126 2025/04/02 11:29:27 nia Exp $
 
 DISTNAME=      make-4.4.1
 PKGNAME=       g${DISTNAME}
@@ -46,6 +46,14 @@ CPPFLAGS+=   -DPKGSRC_DEFAULT_SHELL="\"/us
 CONFIGURE_ARGS.NetBSD+=        --disable-posix-spawn
 .endif
 
+.if ${OPSYS} == "UnixWare"
+# avoid colliding with libc functions
+SUBST_CLASSES+=                strlist
+SUBST_STAGE.strlist=   pre-configure
+SUBST_FILES.strlist=   src/main.c
+SUBST_SED.strlist=     -e 's/strlist/strlist_make/g'
+.endif
+
 .include "options.mk"
 
 AUTO_MKDIRS=           yes



Home | Main Index | Thread Index | Old Index