summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2007-03-30 02:37:11 +0000
committergrant <grant@pkgsrc.org>2007-03-30 02:37:11 +0000
commita772b1bdb1d4304e3ed7b0fb303bda023c952ccd (patch)
tree573b6e5220741abe150a37f0a9edb71d4bc56de9 /net
parent87231d9a9a2bd15a5e212cd7cb1834fab2b03bcc (diff)
downloadpkgsrc-a772b1bdb1d4304e3ed7b0fb303bda023c952ccd.tar.gz
add required CPPFLAGS to enable largefile support on Solaris.
Diffstat (limited to 'net')
-rw-r--r--net/nagios-plugins/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/nagios-plugins/Makefile b/net/nagios-plugins/Makefile
index 0c8be79d92b..a2021b95a89 100644
--- a/net/nagios-plugins/Makefile
+++ b/net/nagios-plugins/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/03/25 12:48:46 grant Exp $
+# $NetBSD: Makefile,v 1.8 2007/03/30 02:37:11 grant Exp $
#
PKGREVISION= 2
@@ -19,9 +19,12 @@ CONFIGURE_ARGS+= --without-pgsql --without-mysql \
--without-snmpgetnext-command --without-fping-command
.if ${OPSYS} == "NetBSD"
-CONFIGURE_ARGS+= --with-df-command="/bin/df -Pklt nokernfs,procfs,fdesc"
+CONFIGURE_ARGS+= --with-df-command="/bin/df -Pklt nokernfs,procfs,fdesc"
.endif
+# required to enable large file support on Solaris
+CPPFLAGS.SunOS!= getconf LFS_CFLAGS
+
.if !exists(/usr/bin/ssh)
DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
.endif