Ticket #49713: libtool-nawk.diff

File libtool-nawk.diff, 1.8 KB (added by ryandesign (Ryan Carsten Schmidt), 9 years ago)
  • Portfile

     
    55
    66name                libtool
    77version             2.4.6
    8 revision            2
     8revision            3
    99categories          devel sysutils
    1010platforms           darwin freebsd
    1111# Scripts are GPL-2+, libltdl is LGPL-2+, but all parts that tend to be
     
    2525                    sha256  e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3
    2626
    2727# For consistency, always use the M4 detected by configure.
    28 patchfiles          hardcode-m4.patch asan.patch
     28patchfiles          hardcode-m4.patch asan.patch avoid-nawk.patch
    2929post-patch {
    3030    # Stop build from trying to regenerate these after patching.
    3131    touch ${worksrcpath}/doc/libtool.1
  • files/avoid-nawk.patch

     
     1--- configure.orig      2015-11-16 22:47:59.000000000 -0600
     2+++ configure   2015-11-16 22:48:57.000000000 -0600
     3@@ -3127,7 +3127,7 @@
     4 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
     5 $as_echo "$MKDIR_P" >&6; }
     6 
     7-for ac_prog in gawk mawk nawk awk
     8+for ac_prog in gawk mawk awk
     9 do
     10   # Extract the first word of "$ac_prog", so it can be a program name with args.
     11 set dummy $ac_prog; ac_word=$2
     12--- libltdl/configure.orig      2015-02-15 10:15:15.000000000 -0600
     13+++ libltdl/configure   2015-11-16 22:49:06.000000000 -0600
     14@@ -2623,7 +2623,7 @@
     15 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
     16 $as_echo "$MKDIR_P" >&6; }
     17 
     18-for ac_prog in gawk mawk nawk awk
     19+for ac_prog in gawk mawk awk
     20 do
     21   # Extract the first word of "$ac_prog", so it can be a program name with args.
     22 set dummy $ac_prog; ac_word=$2