pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nagios-plugins fix the largefile problem in a diff...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9072b40fc4c6
branches:  trunk
changeset: 527205:9072b40fc4c6
user:      grant <grant%pkgsrc.org@localhost>
date:      Fri Mar 30 05:52:37 2007 +0000

description:
fix the largefile problem in a different way, since swapctl doesn't
work on Solaris when largefile support is enabled.

diffstat:

 net/nagios-plugins/Makefile         |   7 +++++--
 net/nagios-plugins/distinfo         |   3 ++-
 net/nagios-plugins/patches/patch-an |  13 +++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r 278e334fe637 -r 9072b40fc4c6 net/nagios-plugins/Makefile
--- a/net/nagios-plugins/Makefile       Fri Mar 30 02:37:11 2007 +0000
+++ b/net/nagios-plugins/Makefile       Fri Mar 30 05:52:37 2007 +0000
@@ -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 @@
 .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 -r 278e334fe637 -r 9072b40fc4c6 net/nagios-plugins/distinfo
--- a/net/nagios-plugins/distinfo       Fri Mar 30 02:37:11 2007 +0000
+++ b/net/nagios-plugins/distinfo       Fri Mar 30 05:52:37 2007 +0000
@@ -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-ak) = c3d9f6ea9a971c45ec4159f800c2a975a3013c82
 SHA1 (patch-al) = cfeef69928795681f17e1faa1639fb3e57a31c32
 SHA1 (patch-am) = ed7e108505679e739449b5eed6101f307e23f436
+SHA1 (patch-an) = 36321b622aacb1e195e7557b9a2e00ae32953f77
diff -r 278e334fe637 -r 9072b40fc4c6 net/nagios-plugins/patches/patch-an
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nagios-plugins/patches/patch-an       Fri Mar 30 05:52:37 2007 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index