[105751] trunk/dports/devel/luarocks/Portfile

and.damore at macports.org and.damore at macports.org
Sat May 4 13:56:51 PDT 2013


Revision: 105751
          https://trac.macports.org/changeset/105751
Author:   and.damore at macports.org
Date:     2013-05-04 13:56:51 -0700 (Sat, 04 May 2013)
Log Message:
-----------
port luarocks: fixing symlink to executable in destroot phase

Modified Paths:
--------------
    trunk/dports/devel/luarocks/Portfile

Modified: trunk/dports/devel/luarocks/Portfile
===================================================================
--- trunk/dports/devel/luarocks/Portfile	2013-05-04 14:29:21 UTC (rev 105750)
+++ trunk/dports/devel/luarocks/Portfile	2013-05-04 20:56:51 UTC (rev 105751)
@@ -2,6 +2,7 @@
 PortSystem          1.0
 name                luarocks
 version             2.0.13
+revision            1
 license             MIT
 categories          devel
 platforms           darwin
@@ -32,6 +33,10 @@
     reinplace "s|%COMPILER%|${configure.cc}|g" ${worksrcpath}/src/luarocks/cfg.lua
 }
 
+post-configure {
+    reinplace -E "/ln -nfs/s|\\\$\\\(DESTDIR\\\)\\\$\\\(BINDIR\\\)/|${prefix}/bin/|" ${worksrcpath}/Makefile
+}
+
 use_parallel_build  no
 
 variant md5 conflicts openssl description { Use md5 as checker } {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130504/a100c1b4/attachment.html>


More information about the macports-changes mailing list