Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/bmake bmake: Use 64 bit off_t on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d1c88c268c2
branches:  trunk
changeset: 433423:8d1c88c268c2
user:      sjmulder <sjmulder%pkgsrc.org@localhost>
date:      Tue Jun 02 10:07:33 2020 +0000

description:
bmake: Use 64 bit off_t on SunOS

Fixes bmake not finding files (e.g. .include) on Illumos wiht 32 bit
ABI.

See also: https://www.illumos.org/issues/9508

diffstat:

 devel/bmake/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r eacfc16b11de -r 8d1c88c268c2 devel/bmake/Makefile
--- a/devel/bmake/Makefile      Tue Jun 02 09:59:55 2020 +0000
+++ b/devel/bmake/Makefile      Tue Jun 02 10:07:33 2020 +0000
@@ -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 @@
 .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}
 



Home | Main Index | Thread Index | Old Index