[MacPorts] #29410: gawk @3.1.8 --enable-switch not enabled.

MacPorts noreply at macports.org
Mon May 9 08:58:27 PDT 2011


#29410: gawk @3.1.8 --enable-switch not enabled.
------------------------------+---------------------------------------------
 Reporter:  axkibe@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.9.2                                
 Keywords:                    |        Port:                                       
------------------------------+---------------------------------------------
 --enable-switch is not enabled for gawks macport build. It is necessary to
 work with scripts that have a switch statement in them. Both Linux and
 Windows version I tested have this enabled by default, so people just
 assume it to be widely avaiable.

 Please enable it by default.

 Simple patch makes it work:

 --- release/ports/lang/gawk/Portfile.orig       2011-05-09
 17:26:34.000000000 +0200
 +++ release/ports/lang/gawk/Portfile    2011-05-09 17:58:10.000000000
 +0200
 @@ -27,8 +27,10 @@
                          port:gettext

  configure.args          --with-libiconv-prefix=${prefix} \
 +                        --enable-switch \
                          ac_cv_libsigsegv=no

  test.run                yes
  test.target             check

-- 
Ticket URL: <https://trac.macports.org/ticket/29410>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list