[74681] trunk/dports/lang/erlang/Portfile

bfulgham at macports.org bfulgham at macports.org
Mon Dec 27 21:58:07 PST 2010


Revision: 74681
          http://trac.macports.org/changeset/74681
Author:   bfulgham at macports.org
Date:     2010-12-27 21:58:00 -0800 (Mon, 27 Dec 2010)
Log Message:
-----------
A few updates:
1. Added build dependency on perl5 (Closes Issuei #22878.)
2. Added symlink for erl_call (Closes Issue #23872.)

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

Modified: trunk/dports/lang/erlang/Portfile
===================================================================
--- trunk/dports/lang/erlang/Portfile	2010-12-28 05:24:22 UTC (rev 74680)
+++ trunk/dports/lang/erlang/Portfile	2010-12-28 05:58:00 UTC (rev 74681)
@@ -74,13 +74,14 @@
                 --without-ssl                   \
                 --without-odbc
 
-depends_build   port:gawk
+depends_build   port:gawk port:perl5
 
 post-destroot   {
         system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}"
         system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_man_${version}${extract.suffix}"
  
         set erts_dir   erts-5.8.2
+        set erl_interface_dir   erl_interface-3.7.2
 
         reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/erl
         reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/start
@@ -92,6 +93,7 @@
 
         file delete -force ${destroot}${prefix}/lib/erlang/bin/epmd
         system "ln -s ../${erts_dir}/bin/epmd ${destroot}${prefix}/lib/erlang/bin/epmd"
+        system "ln -s ../lib/erlang/lib/${erl_interface_dir}/bin/erl_call ${destroot}${prefix}/bin/erl_call"
 }
 
 platform darwin 10 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101227/34cec3e5/attachment.html>


More information about the macports-changes mailing list