diff options
author | fhajny <fhajny> | 2012-07-25 12:07:29 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2012-07-25 12:07:29 +0000 |
commit | d62bf5b4021a93c7c054d39a9979686499a1b987 (patch) | |
tree | 7b1e5e94084997fad883a06eaaf0c6cf8f8dc630 /net/nagios-plugin-mysql/patches | |
parent | 75a007b155173157cee4e1a167f8bec052db168d (diff) | |
download | pkgsrc-d62bf5b4021a93c7c054d39a9979686499a1b987.tar.gz |
Fix build on SunOS:
- Use MACHINE_ARCH to avoid 64bit builds with ABI=32 on SunOS.
Diffstat (limited to 'net/nagios-plugin-mysql/patches')
-rw-r--r-- | net/nagios-plugin-mysql/patches/patch-configure | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/nagios-plugin-mysql/patches/patch-configure b/net/nagios-plugin-mysql/patches/patch-configure new file mode 100644 index 00000000000..d3465703a12 --- /dev/null +++ b/net/nagios-plugin-mysql/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;} |