[MacPorts] #49738: nco @4.5.2: fix configure failure when nawk is installed but gawk and mawk aren't

MacPorts noreply at macports.org
Wed Nov 18 11:10:18 PST 2015


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

 {{{
 config.status: creating config.h
 nawk: illegal statement
  input record number 1, file config.h.in
  source line number 133
 config.status: error: could not create 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/49738>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list