[147228] trunk/dports/net/nmap/Portfile
dluke at macports.org
dluke at macports.org
Thu Mar 31 11:49:02 PDT 2016
Revision: 147228
https://trac.macports.org/changeset/147228
Author: dluke at macports.org
Date: 2016-03-31 11:49:02 -0700 (Thu, 31 Mar 2016)
Log Message:
-----------
nmap: add legacy compatibility variants (thanks to Ryan).
Modified Paths:
--------------
trunk/dports/net/nmap/Portfile
Modified: trunk/dports/net/nmap/Portfile
===================================================================
--- trunk/dports/net/nmap/Portfile 2016-03-31 17:27:16 UTC (rev 147227)
+++ trunk/dports/net/nmap/Portfile 2016-03-31 18:49:02 UTC (rev 147228)
@@ -51,7 +51,8 @@
use_parallel_build no
configure.ccache no
-default_variants +ssl +pcre +subversion
+#- add back +ssl and +pcre once we remove the compatibility variants
+default_variants +subversion
variant ssl description {build with ssl support} {
configure.args-append --with-openssl=${prefix}
@@ -73,3 +74,13 @@
configure.python ${prefix}/bin/python2.7
depends_lib-append port:py27-pygtk
}
+
+#- remove after March 2017, backwards compatibility for previous variants
+variant no_ssl description {Legacy compatibility variant} {}
+if {![variant_isset no_ssl]} {
+ default_variants +ssl
+}
+variant no_pcre description {Legacy compatibility variant} {}
+if {![variant_isset no_pcre]} {
+ default_variants +pcre
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160331/9ead79aa/attachment.html>
More information about the macports-changes
mailing list