summaryrefslogtreecommitdiff
path: root/devel/hdf5/patches
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2010-04-24 21:27:36 +0000
committerasau <asau@pkgsrc.org>2010-04-24 21:27:36 +0000
commited95814d7fcc99be6c6826ce6f8ebcd86e5da6a8 (patch)
treeb27f99c727457f1433444b459c05dd4dd06e6364 /devel/hdf5/patches
parentf4547d1dbb61903ff467c5a8f4a40993f1752af5 (diff)
downloadpkgsrc-ed95814d7fcc99be6c6826ce6f8ebcd86e5da6a8.tar.gz
Don't reverse CPPFLAGS.
Submitted by Taylor Campbell in PR 42757
Diffstat (limited to 'devel/hdf5/patches')
-rw-r--r--devel/hdf5/patches/patch-ab23
-rw-r--r--devel/hdf5/patches/patch-ac20
2 files changed, 35 insertions, 8 deletions
diff --git a/devel/hdf5/patches/patch-ab b/devel/hdf5/patches/patch-ab
index 88d8f174b7d..58d9deae57a 100644
--- a/devel/hdf5/patches/patch-ab
+++ b/devel/hdf5/patches/patch-ab
@@ -1,12 +1,27 @@
-$NetBSD: patch-ab,v 1.8 2007/09/25 01:22:15 dmcmahill Exp $
+$NetBSD: patch-ab,v 1.9 2010/04/24 21:27:36 asau Exp $
Adds missing -lsocket needed on solaris for socket(), bind(), and friends.
+Unreverses order of CPPFLAGS.
---- configure.in.orig 2007-08-16 12:13:34.000000000 -0400
-+++ configure.in 2007-09-24 08:44:58.668063000 -0400
-@@ -675,4 +675,5 @@
+--- configure.in.orig 2009-11-10 21:02:05.000000000 +0300
++++ configure.in 2010-04-25 01:12:31.000000000 +0400
+@@ -668,6 +668,7 @@
+
if test "`uname`" = "SunOS" -o "`uname -sr`" = "HP-UX B.11.00"; then
dnl ...for Solaris
+ AC_CHECK_LIB([socket], [socket])
AC_CHECK_LIB([nsl], [xdr_int])
fi
+
+@@ -2172,9 +2173,9 @@
+ d="-I${ROOT}/${d}"
+ ;;
+ esac
+- TEMP_CPPFLAGS="$d $TEMP_CPPFLAGS"
++ TEMP_CPPFLAGS="$TEMP_CPPFLAGS $d"
+ done
+- CPPFLAGS=$TEMP_CPPFLAGS
++ CPPFLAGS="$TEMP_CPPFLAGS"
+ fi
+
+ dnl ----------------------------------------------------------------------
diff --git a/devel/hdf5/patches/patch-ac b/devel/hdf5/patches/patch-ac
index 00a68960584..b9c89400657 100644
--- a/devel/hdf5/patches/patch-ac
+++ b/devel/hdf5/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.10 2008/09/11 10:27:52 adam Exp $
+$NetBSD: patch-ac,v 1.11 2010/04/24 21:27:36 asau Exp $
---- configure.orig 2008-02-01 04:08:54.000000000 +0100
-+++ configure
-@@ -8822,6 +8822,77 @@ fi
+--- configure.orig 2009-11-10 21:11:34.000000000 +0300
++++ configure 2010-04-25 01:14:37.000000000 +0400
+@@ -8808,6 +8808,77 @@
if test "`uname`" = "SunOS" -o "`uname -sr`" = "HP-UX B.11.00"; then
@@ -80,3 +80,15 @@ $NetBSD: patch-ac,v 1.10 2008/09/11 10:27:52 adam Exp $
{ echo "$as_me:$LINENO: checking for xdr_int in -lnsl" >&5
echo $ECHO_N "checking for xdr_int in -lnsl... $ECHO_C" >&6; }
if test "${ac_cv_lib_nsl_xdr_int+set}" = set; then
+@@ -32292,9 +32363,9 @@
+ d="-I${ROOT}/${d}"
+ ;;
+ esac
+- TEMP_CPPFLAGS="$d $TEMP_CPPFLAGS"
++ TEMP_CPPFLAGS="$TEMP_CPPFLAGS $d"
+ done
+- CPPFLAGS=$TEMP_CPPFLAGS
++ CPPFLAGS="$TEMP_CPPFLAGS"
+ fi
+
+