components/pkgbuild/patches/configure.in.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 02 May 2017 17:33:26 -0700
changeset 7964 d9801318ed3d
parent 5228 b457e3bd2acc
permissions -rw-r--r--
25981468 Build ilmbase and openexr with the GNU compilers

# This patch was taken from the upstream project mailing list and is
# expected to be integrated in a future release.
# http://sourceforge.net/p/pkgbuild/mailman/message/34656716/

--- pkgbuild-1.3.105-dist/configure.in	2013-04-03 23:43:19.000000000 -0500
+++ pkgbuild-1.3.105/configure.in	2015-11-29 14:35:05.914960090 -0600
@@ -23,7 +23,7 @@
 PATCH_IS_GNU=no
 $PATCH --version 2>/dev/null | grep 'Free Software Foundation' > /dev/null \
        && PATCH_IS_GNU=yes
-$PATCH --version 2>/dev/null | head -1 | grep '^patch ' > /dev/null \
+$PATCH --version 2>/dev/null | head -1 | grep '^.*patch ' > /dev/null \
        || PATCH_IS_GNU=no
 AC_MSG_RESULT([$PATCH_IS_GNU])
 if test $PATCH_IS_GNU = no; then
@@ -36,7 +36,7 @@
 SED_IS_GNU=no
 $GNU_SED --version 2>/dev/null | grep 'Free Software Foundation' > /dev/null \
        && SED_IS_GNU=yes
-$GNU_SED --version 2>/dev/null | head -1 | grep 'GNU sed ' > /dev/null \
+$GNU_SED --version 2>/dev/null | head -1 | grep 'GNU sed' > /dev/null \
        || SED_IS_GNU=no
 AC_MSG_RESULT([$SED_IS_GNU])
 if test $SED_IS_GNU = no; then