diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-06-22 22:29:53 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-06-22 22:29:53 +0000 |
commit | dbc7f4d533f4ae3dc009930bd78ecb2215d9c6a0 (patch) | |
tree | e7522ca6c8bf1e797fd7430231a2dc45b221e151 /sysutils | |
parent | 7fe569d472220e358c04e9f7b35f4bfa29b0c738 (diff) | |
download | pkgsrc-dbc7f4d533f4ae3dc009930bd78ecb2215d9c6a0.tar.gz |
Pass -DENABLE_LARGEFILE=1 to the build on SunOS, the configure test
only checks for the presence of open64() rather than doing a proper
largefile check. Fixes 64-bit build.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pv/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/pv/Makefile b/sysutils/pv/Makefile index 1339d1f765a..4ce0e3ab458 100644 --- a/sysutils/pv/Makefile +++ b/sysutils/pv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2015/05/12 15:45:21 bsiegert Exp $ +# $NetBSD: Makefile,v 1.26 2015/06/22 22:29:53 jperkin Exp $ # DISTNAME= pv-1.6.0 @@ -20,6 +20,9 @@ REPLACE_LOCALEDIR_PATTERNS+= vars.mk DOCDIR= ${PREFIX}/share/doc/pv INSTALLATION_DIRS= ${DOCDIR} +# configure test only checks for open64() +CFLAGS.SunOS+= -DENABLE_LARGEFILE=1 + post-install: ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR} |