summaryrefslogtreecommitdiff
path: root/net/nagios-plugins
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2007-03-30 05:52:37 +0000
committergrant <grant@pkgsrc.org>2007-03-30 05:52:37 +0000
commit3525ec4472d179d93921246cfa1ca16894a5ad25 (patch)
tree13528eae72447196644821d344fc08f4860a23ff /net/nagios-plugins
parenta772b1bdb1d4304e3ed7b0fb303bda023c952ccd (diff)
downloadpkgsrc-3525ec4472d179d93921246cfa1ca16894a5ad25.tar.gz
fix the largefile problem in a different way, since swapctl doesn't
work on Solaris when largefile support is enabled.
Diffstat (limited to 'net/nagios-plugins')
-rw-r--r--net/nagios-plugins/Makefile7
-rw-r--r--net/nagios-plugins/distinfo3
-rw-r--r--net/nagios-plugins/patches/patch-an13
3 files changed, 20 insertions, 3 deletions
diff --git a/net/nagios-plugins/Makefile b/net/nagios-plugins/Makefile
index a2021b95a89..ccfd7d6479a 100644
--- a/net/nagios-plugins/Makefile
+++ b/net/nagios-plugins/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/03/30 02:37:11 grant Exp $
+# $NetBSD: Makefile,v 1.9 2007/03/30 05:52:37 grant Exp $
#
PKGREVISION= 2
@@ -23,7 +23,10 @@ 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 ${OPSYS} == "SunOS"
+CPPFLAGS_LFS!= getconf LFS_CFLAGS
+MAKE_ENV+= CPPFLAGS_LFS=${CPPFLAGS_LFS:Q}
+.endif
.if !exists(/usr/bin/ssh)
DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
diff --git a/net/nagios-plugins/distinfo b/net/nagios-plugins/distinfo
index 0a7d0b461b2..d259ee95360 100644
--- a/net/nagios-plugins/distinfo
+++ b/net/nagios-plugins/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2006/10/16 05:29:40 seb Exp $
+$NetBSD: distinfo,v 1.4 2007/03/30 05:52:37 grant Exp $
SHA1 (nagios-plugins-1.4.3.tar.gz) = c26fc2f31d7579c3a8174dcd1965046c4b1c8d37
RMD160 (nagios-plugins-1.4.3.tar.gz) = bc1d4f8cddd481775c514758a462fe533e01e846
@@ -12,3 +12,4 @@ SHA1 (patch-ai) = 383f5b19466c82454e198e1b9cdbec2dcfd04047
SHA1 (patch-ak) = c3d9f6ea9a971c45ec4159f800c2a975a3013c82
SHA1 (patch-al) = cfeef69928795681f17e1faa1639fb3e57a31c32
SHA1 (patch-am) = ed7e108505679e739449b5eed6101f307e23f436
+SHA1 (patch-an) = 36321b622aacb1e195e7557b9a2e00ae32953f77
diff --git a/net/nagios-plugins/patches/patch-an b/net/nagios-plugins/patches/patch-an
new file mode 100644
index 00000000000..16033d75844
--- /dev/null
+++ b/net/nagios-plugins/patches/patch-an
@@ -0,0 +1,13 @@
+$NetBSD: patch-an,v 1.1 2007/03/30 05:52:37 grant Exp $
+
+--- lib/Makefile.in.orig 2006-04-19 13:52:06.000000000 +1000
++++ lib/Makefile.in
+@@ -82,7 +82,7 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CPPFLAGS_LFS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)