[MacPorts] #38570: lua-lpeg @0.11: portfile parse error if lua is not installed
MacPorts
noreply at macports.org
Fri Mar 29 01:03:52 PDT 2013
#38570: lua-lpeg @0.11: portfile parse error if lua is not installed
-----------------------+--------------------------
Reporter: egall@… | Owner: and.damore@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: fixed | Keywords:
Port: lua-lpeg |
-----------------------+--------------------------
Changes (by and.damore@…):
* status: new => closed
* resolution: => fixed
Comment:
Replying to [comment:2 larryv@…]:
> 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.
That's not possible AFAIK, even if you set a variable in an augmented
phase it would not be available at portfile's main level. A correct
approach is patching the makefile rather than passing the values on build
args.
Committed r104585, ticket closed.
--
Ticket URL: <https://trac.macports.org/ticket/38570#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list