[112941] trunk/dports/lang/erlang/Portfile
ciserlohn at macports.org
ciserlohn at macports.org
Mon Nov 4 11:54:40 PST 2013
Revision: 112941
https://trac.macports.org/changeset/112941
Author: ciserlohn at macports.org
Date: 2013-11-04 11:54:40 -0800 (Mon, 04 Nov 2013)
Log Message:
-----------
erlang: change nohipe to hipe variant and make it actually work (closes #37349)
Modified Paths:
--------------
trunk/dports/lang/erlang/Portfile
Modified: trunk/dports/lang/erlang/Portfile
===================================================================
--- trunk/dports/lang/erlang/Portfile 2013-11-04 19:42:18 UTC (rev 112940)
+++ trunk/dports/lang/erlang/Portfile 2013-11-04 19:54:40 UTC (rev 112941)
@@ -65,7 +65,7 @@
--enable-threads \
--enable-dynamic-ssl-lib \
--enable-smp-support \
- --enable-hipe \
+ --disable-hipe \
--without-ssl \
--without-odbc
@@ -135,10 +135,19 @@
depends_lib-append port:openssl
}
-variant nohipe description {Disable HiPE (native-code bytecode compiler)} {
- configure.args-delete --enable-hipe
+variant hipe conflicts nohipe description {Enable HiPE (native-code bytecode compiler)} {
+ configure.args-delete --disable-hipe
+ configure.args-append --enable-hipe
}
+variant nohipe conflicts hipe description {Legacy compatibility variant} {}
+
+if {[variant_isset nohipe]} {
+ default_variants -hipe
+} else {
+ default_variants +hipe
+}
+
variant odbc description {Build ODBC support} {
depends_lib-append port:unixODBC
configure.args-delete --without-odbc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131104/cba5c5ed/attachment-0001.html>
More information about the macports-changes
mailing list