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
This commit is contained in:
parent
341f8591eb
commit
2e67b2b0bc
1 changed files with 5 additions and 1 deletions
|
@ -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=${PREFIX}/bin/pdksh
|
|||
.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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue