summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-06-22 22:29:53 +0000
committerjperkin <jperkin@pkgsrc.org>2015-06-22 22:29:53 +0000
commitdbc7f4d533f4ae3dc009930bd78ecb2215d9c6a0 (patch)
treee7522ca6c8bf1e797fd7430231a2dc45b221e151 /sysutils
parent7fe569d472220e358c04e9f7b35f4bfa29b0c738 (diff)
downloadpkgsrc-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/Makefile5
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}