[MacPorts] #38570: lua-lpeg @0.11: portfile parse error if lua is not installed (was: lua-lpeg @0.11: portfile fails to parse during selfupdate)

MacPorts noreply at macports.org
Thu Mar 28 23:17:26 PDT 2013


#38570: lua-lpeg @0.11: portfile parse error if lua is not installed
-----------------------+--------------------------
  Reporter:  egall@…   |      Owner:  and.damore@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.1.3
Resolution:            |   Keywords:
      Port:  lua-lpeg  |
-----------------------+--------------------------
Changes (by larryv@…):

 * cc: and.damore@… (removed)
 * owner:  macports-tickets@… => and.damore@…


Comment:

 This line…
 {{{
 LDFLAGS="${configure.ldflags} [exec ${prefix}/bin/pkg-config lua --libs]"
 }}}
 …needs to go into a `pre-build` block or something, so that the `exec`
 command is not evaluated when the portfile is parsed.

-- 
Ticket URL: <https://trac.macports.org/ticket/38570#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list