[82464] trunk/dports/net/wget/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Aug 14 00:04:12 PDT 2011
Revision: 82464
http://trac.macports.org/changeset/82464
Author: ryandesign at macports.org
Date: 2011-08-14 00:04:12 -0700 (Sun, 14 Aug 2011)
Log Message:
-----------
wget: move ssl-related code into ssl variant
Modified Paths:
--------------
trunk/dports/net/wget/Portfile
Modified: trunk/dports/net/wget/Portfile
===================================================================
--- trunk/dports/net/wget/Portfile 2011-08-14 07:02:48 UTC (rev 82463)
+++ trunk/dports/net/wget/Portfile 2011-08-14 07:04:12 UTC (rev 82464)
@@ -39,12 +39,6 @@
# So that +universal can use gettext and openssl on Tiger; see #18276.
configure.ldflags-append -liconv -lintl
-if {[variant_isset ssl]} {
- depends_build-append port:pkgconfig
- pre-configure {
- configure.ldflags-append [exec ${prefix}/bin/pkg-config --libs libssl]
- }
-}
variant test {
depends_build-append port:p5-libwww-perl \
@@ -54,7 +48,11 @@
}
variant ssl description {Build with SSL support} {
+ depends_build-append port:pkgconfig
depends_lib-append port:openssl
+ pre-configure {
+ configure.ldflags-append [exec ${prefix}/bin/pkg-config --libs libssl]
+ }
configure.args-replace s|--without-ssl|--with-libssl-prefix=${prefix}|
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110814/ec7cabfd/attachment-0001.html>
More information about the macports-changes
mailing list