Ticket #49713: autoconf-nawk.diff

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

     
    66name                autoconf
    77epoch               1
    88version             2.69
    9 revision            5
     9revision            6
    1010categories          devel
    1111# the license is GPL-3+ with an exception:
    1212# http://www.gnu.org/licenses/autoconf-exception.html
     
    3535checksums           rmd160  666aa45a58e856968c651e2a3b44be38de9c14e4 \
    3636                    sha256  64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
    3737
    38 patchfiles          use-macports-tools.patch
     38patchfiles          avoid-nawk.patch \
     39                    use-macports-tools.patch
     40
    3941post-patch {
    4042    # Stop build from trying to regenerate this after patching.
    4143    touch ${worksrcpath}/man/autoreconf.1
  • files/avoid-nawk.patch

     
     1https://trac.macports.org/ticket/49713
     2
     3Index: doc/autoconf.info
     4===================================================================
     5--- doc/autoconf.info.orig
     6+++ doc/autoconf.info
     7@@ -3212,7 +3212,7 @@ These macros check for particular progra
     8 some cases whether they support certain features.
     9 
     10  -- Macro: AC_PROG_AWK
     11-     Check for `gawk', `mawk', `nawk', and `awk', in that order, and
     12+     Check for `gawk', `mawk', and `awk', in that order, and
     13      set output variable `AWK' to the first one that is found.  It
     14      tries `gawk' first because that is reported to be the best
     15      implementation.  The result can be overridden by setting the
     16Index: lib/autoconf/programs.m4
     17===================================================================
     18--- lib/autoconf/programs.m4.orig
     19+++ lib/autoconf/programs.m4
     20@@ -347,7 +347,7 @@ AN_PROGRAM([gawk], [AC_PROG_AWK])
     21 AN_PROGRAM([mawk], [AC_PROG_AWK])
     22 AN_PROGRAM([nawk], [AC_PROG_AWK])
     23 AC_DEFUN([AC_PROG_AWK],
     24-[AC_CHECK_PROGS(AWK, gawk mawk nawk awk, )])
     25+[AC_CHECK_PROGS(AWK, gawk mawk awk, )])
     26 
     27 
     28 # AC_PROG_EGREP