pkgsrc/devel/hdf5/patches/patch-configure

28 lines
772 B
Text

$NetBSD: patch-configure,v 1.2 2014/09/24 10:40:57 jperkin Exp $
Unreverse order of CPPFLAGS.
Avoid reference to WRAPPER_BINDIR in final binaries.
--- configure.orig 2013-11-21 15:14:04.000000000 +0000
+++ configure
@@ -30801,7 +30801,7 @@ else
CC_VERSION="$CC";
for x in `echo $PATH | sed -e 's/:/ /g'`; do
if test -x $x/$CC_NOFLAGS; then
- CC_VERSION="$x/$CC"
+ #CC_VERSION="$x/$CC"
break
fi
done
@@ -30902,9 +30902,9 @@ if test -n "$AM_CPPFLAGS"; then
d="-I${ROOT}/${d}"
;;
esac
- TEMP_CPPFLAGS="$d $TEMP_CPPFLAGS"
+ TEMP_CPPFLAGS="$TEMP_CPPFLAGS $d"
done
- AM_CPPFLAGS=$TEMP_CPPFLAGS
+ AM_CPPFLAGS="$TEMP_CPPFLAGS"
fi
## ----------------------------------------------------------------------