Fixes bmake not finding files (e.g. .include) on Illumos wiht 32 bit
ABI.
See also: https://www.illumos.org/issues/9508
To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 pkgsrc/devel/bmake/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/bmake/Makefile
diff -u pkgsrc/devel/bmake/Makefile:1.75 pkgsrc/devel/bmake/Makefile:1.76
--- pkgsrc/devel/bmake/Makefile:1.75 Sun May 24 21:10:17 2020
+++ pkgsrc/devel/bmake/Makefile Tue Jun 2 10:07:33 2020
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.75 2020/05/24 21:10:17 nia Exp $
+# $NetBSD: Makefile,v 1.76 2020/06/02 10:07:33 sjmulder Exp $
DISTNAME= bmake-20200524
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= # empty
DISTFILES= # empty
@@ -41,6 +42,9 @@ CONFIGURE_ARGS+= --with-defshell=${PREFI
.endif
MAKE_ENV.Interix+= XDEFS=-DUSE_SELECT
+# Fix bmake not finding files (e.g. .include) on Illumos with 32 bit ABI
+CFLAGS.SunOS+=-D_FILE_OFFSET_BITS=64
+
do-extract:
${CP} -R ${FILESDIR} ${WRKSRC}