[MacPorts] #49736: c-ares @1.10.0: fix configure failure when nawk is installed but gawk and mawk aren't

MacPorts noreply at macports.org
Wed Nov 18 08:42:40 PST 2015


#49736: c-ares @1.10.0: fix configure failure when nawk is installed but gawk and
mawk aren't
--------------------------+--------------------
 Reporter:  ryandesign@…  |      Owner:  toby@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.99
 Keywords:  haspatch      |       Port:  c-ares
--------------------------+--------------------
 If nawk is installed but gawk and mawk aren't, c-ares fails to configure
 with this error:

 {{{
 :info:configure config.status: creating ares_config.h
 :info:configure nawk: illegal statement
 :info:configure  input record number 1, file ares_config.h.in
 :info:configure  source line number 176
 :info:configure config.status: error: could not create ares_config.h
 }}}

 Similar errors are common in other ports. I guess many ports' build
 systems use awk syntax that is not compatible with nawk.

 We've been fixing this in other ports by patching the configure script so
 that it does not consider nawk as an awk candidate. See attached patch.

-- 
Ticket URL: <https://trac.macports.org/ticket/49736>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list