[MacPorts] #48835: wireshark @1.12.7: Build fails with lua 5.3

MacPorts noreply at macports.org
Fri Oct 16 13:04:57 PDT 2015


#48835: wireshark @1.12.7: Build fails with lua 5.3
------------------------------+----------------------
  Reporter:  md14-macports@…  |      Owner:  ricci@…
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.3
Resolution:                   |   Keywords:
      Port:  wireshark        |
------------------------------+----------------------

Comment (by mschamschula@…):

 Replying to [comment:26 ryandesign@…]:
 > Replying to [comment:23 mschamschula@…]:
 > > See attached patches.
 >
 > Thanks, but this line looks completely wrong:
 > {{{
 >         configure.env-append    "-I/${prefix}/include/lua-5.2
 -L/${prefix}/lib/lua-5.2"
 > }}}
 > First, quotation marks are not required, but more importantly, those
 flags are not environment variables. To have any effect, the -I flag would
 need to go in the CPPFLAGS environment variable (represented in MacPorts
 by the configure.cppflags variable) and the -L flag would need to go in
 the LDFLAGS variable (represented by the configure.ldflags variable). If
 the port built fine with this line the way it was written, then the line
 can be removed, since it can't possibly be doing anything in its current
 state.


 Ryan,

 Point well taken. It must have been very early in the morning when I added
 that line. I turns out that removing
 {{{
 configure.args-append   --with-lua=${prefix}
 }}}
 actually did the trick. I had added this to deal with the configure
 script. However, the configure script is smart enough to look for lua5.2,
 if not forced to look in ${prefix}. The patch for epan/wslua/lua_bitop.c
 is what is needed to build.

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


More information about the macports-tickets mailing list