[MacPorts] #41132: luajit installs differently depending on whether lua is installed

MacPorts noreply at macports.org
Fri Nov 1 17:20:56 PDT 2013


#41132: luajit installs differently depending on whether lua is installed
--------------------------+--------------------------
 Reporter:  ryandesign@…  |      Owner:  and.damore@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.2.1
 Keywords:                |       Port:  luajit
--------------------------+--------------------------
 luajit does not declare a dependency on lua but installs itself
 differently depending on whether lua is installed. (From a comment in the
 Portfile: "luajit doesn't depends on lua but if lua 5.2 is installed we're
 going to change the conf file so we can use 5.2 extensions") But we have a
 buildbot that produces [http://packages.macports.org/luajit/ binary
 packages of luajit]. And the buildbots never have any ports installed
 other than the dependencies of the port being built. So on the buildbot,
 lua will not be installed when luajit is being built. So apparently this
 means users cannot use any lua 5.2 extensions if they get the binary from
 our server. Or if they install lua after installing luajit.

 The port should be changed to always build the same way, and presumably
 that way should be to allow the use of lua 5.2 extensions if lua is
 installed.

 Adding a dependency on the lua port just to find its version number might
 be overkill, but you could define a variable for the lua version, and
 remind yourself to update it and revbump luajit if and when lua is updated
 to a newer version.

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


More information about the macports-tickets mailing list