Opened 10 years ago

Last modified 2 years ago

#46880 new enhancement

Let different versions of lua coexist in an uniform way.

Reported by: yszhou4tech@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: Schamschula (Marius Schamschula), ryandesign (Ryan Carsten Schmidt), Gasol (Gasol Wu), mascguy (Christopher Nielsen)
Port: lua lua50 lua51

Description

Hi, I noticed that header files of lua5.1 was installed to /opt/local/include/lua-5.1, while that of both lua5.0 and lua5.2 were supposed to be installed into /opt/loca/include/.

I think that each of them installed into its own subdirectory within /opt/local/include with appropriate pkg-config definition should be more preferable. That way, those packages depending on lua5.1 can have -I/opt/local/include and -I/opt/local/lua5.1 in their CPPFLAGS without having to worry about the order of presence.

Change History (3)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mschamschula@… ryandesign@… added

Yes. I've been saying this for a long time. Looks like the files attached to #46621 may implement this.

comment:2 Changed 4 years ago by Gasol (Gasol Wu)

Cc: Gasol added

comment:3 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Note: See TracTickets for help on using tickets.