[114321] trunk/dports/net/lftp/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Dec 4 23:43:47 PST 2013


Revision: 114321
          https://trac.macports.org/changeset/114321
Author:   ryandesign at macports.org
Date:     2013-12-04 23:43:47 -0800 (Wed, 04 Dec 2013)
Log Message:
-----------
lftp: fix universal variant build failure (it checks bitness at configure time) by using muniversal portgroup; use -replace where possible

Modified Paths:
--------------
    trunk/dports/net/lftp/Portfile

Modified: trunk/dports/net/lftp/Portfile
===================================================================
--- trunk/dports/net/lftp/Portfile	2013-12-05 07:28:38 UTC (rev 114320)
+++ trunk/dports/net/lftp/Portfile	2013-12-05 07:43:47 UTC (rev 114321)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           muniversal 1.0
 
 name                lftp
 version             4.4.13
@@ -52,10 +53,10 @@
 }
 
 variant tls description {Use GnuTLS instead of OpenSSL} {
-    configure.args-append   --without-openssl --with-gnutls
-    configure.args-delete   --with-openssl --without-gnutls
-    depends_lib-append      port:gnutls
-    depends_lib-delete      port:openssl
+    depends_lib-replace     port:openssl port:gnutls
+
+    configure.args-replace  --with-openssl --without-openssl
+    configure.args-replace  --without-gnutls --with-gnutls
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131204/fa685736/attachment.html>


More information about the macports-changes mailing list