[MacPorts] #49827: libssh2: configure failure when nawk is installed but gawk is not

MacPorts noreply at macports.org
Thu Nov 26 23:29:47 PST 2015


#49827: libssh2: configure failure when nawk is installed but gawk is not
--------------------------+----------------------
 Reporter:  ryandesign@…  |      Owner:  normen@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.4
 Keywords:                |       Port:  libssh2
--------------------------+----------------------
 libssh2 fails to configure when nawk is installed but gawk is not:

 {{{
 config.status: creating src/libssh2_config.h
 nawk: illegal statement
  input record number 1, file src/libssh2_config.h.in
  source line number 50
 config.status: error: could not create src/libssh2_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 adding a configure argument like:

 {{{
 ac_cv_prog_AWK=/usr/bin/awk
 }}}

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


More information about the macports-tickets mailing list