[142653] trunk/dports/graphics/libpng
ryandesign at macports.org
ryandesign at macports.org
Sat Dec 12 06:40:05 PST 2015
Revision: 142653
https://trac.macports.org/changeset/142653
Author: ryandesign at macports.org
Date: 2015-11-18 11:16:23 -0800 (Wed, 18 Nov 2015)
Log Message:
-----------
libpng: fix configure failure if nawk is installed (#38691)
Modified Paths:
--------------
trunk/dports/graphics/libpng/Portfile
Added Paths:
-----------
trunk/dports/graphics/libpng/files/
trunk/dports/graphics/libpng/files/nawk.patch
Modified: trunk/dports/graphics/libpng/Portfile
===================================================================
--- trunk/dports/graphics/libpng/Portfile 2015-11-18 18:59:26 UTC (rev 142652)
+++ trunk/dports/graphics/libpng/Portfile 2015-11-18 19:16:23 UTC (rev 142653)
@@ -34,6 +34,8 @@
depends_lib port:zlib
+patchfiles nawk.patch
+
use_parallel_build yes
test.run yes
Added: trunk/dports/graphics/libpng/files/nawk.patch
===================================================================
--- trunk/dports/graphics/libpng/files/nawk.patch (rev 0)
+++ trunk/dports/graphics/libpng/files/nawk.patch 2015-11-18 19:16:23 UTC (rev 142653)
@@ -0,0 +1,20 @@
+--- configure.orig 2015-11-12 07:00:20.000000000 -0600
++++ configure 2015-11-18 13:13:40.000000000 -0600
+@@ -2651,7 +2651,7 @@
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+ $as_echo "$MKDIR_P" >&6; }
+
+-for ac_prog in gawk mawk nawk awk
++for ac_prog in gawk mawk awk
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+@@ -4774,7 +4774,7 @@
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+-for ac_prog in gawk mawk nawk awk
++for ac_prog in gawk mawk awk
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/a23784f0/attachment.html>
More information about the macports-changes
mailing list