[MacPorts] #18402: lua 5.1.4 request a variant option for building dynamic library of lua
#18402: lua 5.1.4 request a variant option for building dynamic library of lua -----------------------------------+---------------------------------------- Reporter: cheunghonyu@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.7.0 Keywords: lua | Port: lua -----------------------------------+---------------------------------------- Dear maintainers, I want to use latest version of mod_security for my apache2 server. According to http://www.modsecurity.org/documentation/modsecurity- apache/2.5.7/html-multipage/installation.html mod_security optional requires the dynamic libraries of lua. May you create a variant for buliding /opt/local/lib/liblua.dylib of lua package? Thank you for you help -- Ticket URL: <http://trac.macports.org/ticket/18402> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua 5.1.4 request a variant option for building dynamic library of lua -----------------------------------+---------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.7.0 Keywords: | Port: lua -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * keywords: lua => * owner: macports-tickets@… => pmq@… -- Ticket URL: <http://trac.macports.org/ticket/18402#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua 5.1.4 request a variant option for building dynamic library of lua -----------------------------------+---------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: lua -----------------------------------+---------------------------------------- Comment(by ryandesign@…): The lua Makefile does not contain any instructions for building a dynamic library, so we would have to invent it ourselves. -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua 5.1.4 request a variant option for building dynamic library of lua -----------------------------------+---------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: lua -----------------------------------+---------------------------------------- Comment(by ryandesign@…): A variant would not be appropriate, by the way; the port should simply always build both a static and a dynamic library. -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua 5.1.4 request a variant option for building dynamic library of lua -----------------------------------+---------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: lua -----------------------------------+---------------------------------------- Comment(by ryandesign@…): There seems to be a patch for this in #27378. -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua 5.1.4 request a variant option for building dynamic library of lua -----------------------------------+---------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: lua -----------------------------------+---------------------------------------- Comment(by and.damore@…): Replying to [comment:4 ryandesign@…]:
A variant would not be appropriate, by the way; the port should simply always build both a static and a dynamic library.
Why both? Dylib patches has been committed r76094 but it will only build dylib, whose lack was preventing some module from loading. -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua 5.1.4 request a variant option for building dynamic library of lua -----------------------------------+---------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: lua -----------------------------------+---------------------------------------- Changes (by and.damore@…): * version: 1.7.0 => 1.9.2 -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua @5.1.4: should install both static and dynamic libraries -----------------------------------+---------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: lua -----------------------------------+---------------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua @5.1.4: should install both static and dynamic libraries ------------------------------------+--------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: lua | ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:6 and.damore@…]:
Replying to [comment:4 ryandesign@…]:
the port should simply always build both a static and a dynamic library.
Why both?
It's a recommendation I've long heard. Presumably it's to allow the user flexibility in how they want to use the library. Perhaps it's not so important.
Dylib patches has been committed r76094 but it will only build dylib, whose lack was preventing some module from loading.
This caused build failures for universal and non-default build_arch; fixed in r77088. -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua @5.1.4: should install both static and dynamic libraries ------------------------------------+--------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: lua | ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@…, and.damore@… (added) -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua @5.1.4: should install both static and dynamic libraries ------------------------------------+--------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: lua | ------------------------------------+--------------------------------------- Comment(by mail@…): I am missing the disappeared static lib of lua and had to build it by hand now. I would really appreciate if, as mentioned in the ticket summary, both, static and dynamic library would be installed by default. -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua @5.1.4: should install both static and dynamic libraries ------------------------------------+--------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: lua | ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * status: closed => reopened * resolution: fixed => Comment: Right. Well, if someone can modify the Makefile patches to do this, that would be great. -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua @5.1.4: should install both static and dynamic libraries ------------------------------------+--------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: lua | ------------------------------------+--------------------------------------- Comment(by and.damore@…): I'm attaching a patch, this builds both archive and dylib. I split files, I prefer one patchfile per file. -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua @5.1.4: should install both static and dynamic libraries ------------------------------------+--------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: lua | ------------------------------------+--------------------------------------- Changes (by and.damore@…): * status: reopened => closed * resolution: => fixed Comment: Committed r77328, ticket closed. -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua @5.1.4: should install both static and dynamic libraries ------------------------------------+--------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: lua | ------------------------------------+--------------------------------------- Comment(by mail@…): Thanks a lot. Works great now. -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18402: lua @5.1.4: should install both static and dynamic libraries ------------------------------------+--------------------------------------- Reporter: cheunghonyu@… | Owner: pmq@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: lua | ------------------------------------+--------------------------------------- Comment(by and.damore@…): You're welcome. -- Ticket URL: <https://trac.macports.org/ticket/18402#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts