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

jmr at macports.org jmr at macports.org
Sat Aug 6 06:39:22 PDT 2011


Revision: 81904
          http://trac.macports.org/changeset/81904
Author:   jmr at macports.org
Date:     2011-08-06 06:39:19 -0700 (Sat, 06 Aug 2011)
Log Message:
-----------
erlang: add missing ncurses dependency, and don't clobber deps in odbc variant

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

Modified: trunk/dports/lang/erlang/Portfile
===================================================================
--- trunk/dports/lang/erlang/Portfile	2011-08-06 13:16:34 UTC (rev 81903)
+++ trunk/dports/lang/erlang/Portfile	2011-08-06 13:39:19 UTC (rev 81904)
@@ -71,6 +71,8 @@
                 --without-odbc
 
 depends_build   port:gawk port:perl5
+# ${prefix}/lib/erlang/erts-5.8.4/bin/beam.smp links with ncurses
+depends_lib     port:ncurses
 
 post-destroot   {
         system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}"
@@ -155,7 +157,7 @@
 }
 
 variant odbc description {Build ODBC support} {
-    depends_lib             port:unixODBC
+    depends_lib-append             port:unixODBC
     configure.args-delete   --without-odbc
     configure.args-append   --with-odbc=${prefix}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110806/8f8759ef/attachment.html>


More information about the macports-changes mailing list