Opened 13 years ago
Last modified 13 years ago
#29410 closed enhancement
gawk @3.1.8 --enable-switch not enabled. — at Version 1
Reported by: | axkibe@… | Owned by: | mschamschula@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | haspatch | Cc: | |
Port: | gawk |
Description (last modified by mf2k (Frank Schima))
--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
Change History (1)
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to mschamschula@… |
Port: | gawk added |
Note: See
TracTickets for help on using
tickets.
It would be more helpful to attach the patch to the ticket rather than pasting the text inline in the description.