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

MacPorts noreply at macports.org
Mon May 9 09:12:54 PDT 2011


#29410: gawk @3.1.8 --enable-switch not enabled.
------------------------------+---------------------------------------------
 Reporter:  axkibe@…          |       Owner:  mschamschula@…        
     Type:  defect            |      Status:  new                   
 Priority:  Normal            |   Milestone:                        
Component:  ports             |     Version:  1.9.2                 
 Keywords:                    |        Port:  gawk                  
------------------------------+---------------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => mschamschula@…
  * port:  => gawk


Old description:

> --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

New description:

 --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
 }}}

--

Comment:

 It would be more helpful to attach the patch to the ticket rather than
 pasting the text inline in the description.

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


More information about the macports-tickets mailing list