diff options
author | fhajny <fhajny@pkgsrc.org> | 2012-07-25 12:07:29 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2012-07-25 12:07:29 +0000 |
commit | 7e2293d70e655f11d2e7094a25768980d5fd73b6 (patch) | |
tree | 7b1e5e94084997fad883a06eaaf0c6cf8f8dc630 /net/nagios-plugin-pgsql | |
parent | 8f3157b4e87f8a1c159fc11d1797314d7ae3a359 (diff) | |
download | pkgsrc-7e2293d70e655f11d2e7094a25768980d5fd73b6.tar.gz |
Fix build on SunOS:
- Use MACHINE_ARCH to avoid 64bit builds with ABI=32 on SunOS.
Diffstat (limited to 'net/nagios-plugin-pgsql')
-rw-r--r-- | net/nagios-plugin-pgsql/distinfo | 3 | ||||
-rw-r--r-- | net/nagios-plugin-pgsql/patches/patch-configure | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/net/nagios-plugin-pgsql/distinfo b/net/nagios-plugin-pgsql/distinfo index 894c7fd17db..e759e496386 100644 --- a/net/nagios-plugin-pgsql/distinfo +++ b/net/nagios-plugin-pgsql/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2012/05/24 15:26:14 marino Exp $ +$NetBSD: distinfo,v 1.10 2012/07/25 12:07:30 fhajny Exp $ SHA1 (nagios-plugins-1.4.15.tar.gz) = 1faab309c06d37e559490fd852ecb0dc8a8ab610 RMD160 (nagios-plugins-1.4.15.tar.gz) = c2780a3523cf4eaaed34a94c07f5f6bd6fb1f736 @@ -6,4 +6,5 @@ Size (nagios-plugins-1.4.15.tar.gz) = 2095419 bytes SHA1 (patch-ak) = dd9aba7a0930a6448e372b581ba04d62018a973b SHA1 (patch-al) = 63e28ae36d671e773acfe6aeb45ab7603c112594 SHA1 (patch-am) = adc95ba1037a7d7caab6dde6ca1e27e47754db62 +SHA1 (patch-configure) = 1b9f7c4014c0425cda5f93e9fa123a236728f003 SHA1 (patch-lib_utils_base.c) = 7e315711f8ca9ec033841c8f0eb9e037625c84ca diff --git a/net/nagios-plugin-pgsql/patches/patch-configure b/net/nagios-plugin-pgsql/patches/patch-configure new file mode 100644 index 00000000000..d3465703a12 --- /dev/null +++ b/net/nagios-plugin-pgsql/patches/patch-configure @@ -0,0 +1,14 @@ +$NetBSD: patch-configure,v 1.1 2012/07/25 12:07:30 fhajny Exp $ + +Only build 64bit when MACHINE_ARCH=x86_64, on SunOS. +--- configure.orig 2010-07-27 20:48:13.000000000 +0000 ++++ configure +@@ -18068,7 +18068,7 @@ elif test "$ac_cv_uname_s" = "SunOS"; th + ac_cv_ps_cols=9 + { echo "$as_me:$LINENO: result: using nagios-plugins internal ps command (pst3) for solaris" >&5 + echo "${ECHO_T}using nagios-plugins internal ps command (pst3) for solaris" >&6; } +- if test `isainfo -b` = 64 ; then ++ if test "$MACHINE_ARCH" = "x86_64" ; then + pst3_use_64bit=1 + { echo "$as_me:$LINENO: using 64bit pst3" >&5 + echo "$as_me: using 64bit pst3" >&6;} |