[106226] trunk/dports/lang/luajit/Portfile

and.damore at macports.org and.damore at macports.org
Sun May 19 13:49:58 PDT 2013


Revision: 106226
          https://trac.macports.org/changeset/106226
Author:   and.damore at macports.org
Date:     2013-05-19 13:49:58 -0700 (Sun, 19 May 2013)
Log Message:
-----------
port luajit: fixing hardcoded prefix in pkgconfig file

Modified Paths:
--------------
    trunk/dports/lang/luajit/Portfile

Modified: trunk/dports/lang/luajit/Portfile
===================================================================
--- trunk/dports/lang/luajit/Portfile	2013-05-19 20:35:25 UTC (rev 106225)
+++ trunk/dports/lang/luajit/Portfile	2013-05-19 20:49:58 UTC (rev 106226)
@@ -4,7 +4,7 @@
 
 name                luajit
 version             2.0.1
-revision            5
+revision            6
 categories          lang
 platforms           darwin
 license             BSD
@@ -34,6 +34,8 @@
                     Q=""
 
 post-patch {
+    reinplace "s|/usr/local|${prefix}|"    ${worksrcpath}/etc/luajit.pc
+
     # 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
     if {    ![catch {set lua_version [string range [lindex [lindex [registry_active lua] 0] 1] 0 2]}]
         &&  [vercmp $lua_version 5.2] >= 0} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130519/c065bb50/attachment.html>


More information about the macports-changes mailing list