Opened 13 years ago
Last modified 13 years ago
#29410 closed enhancement
gawk @3.1.8 --enable-switch not enabled. — at Initial Version
Reported by: | axkibe@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | haspatch | Cc: | |
Port: | gawk |
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
Note: See
TracTickets for help on using
tickets.