[46176] trunk/dports/net/wget/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Jan 31 00:11:04 PST 2009


Revision: 46176
          http://trac.macports.org/changeset/46176
Author:   ryandesign at macports.org
Date:     2009-01-31 00:11:00 -0800 (Sat, 31 Jan 2009)
Log Message:
-----------
wget:

 * Fix universal build on Tiger so it includes gettext and (if not deselected) openssl support. See #18276.
 * Use muniversal portgroup because I have greater confidence in it generally to produce a viable universal binary.

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

Modified: trunk/dports/net/wget/Portfile
===================================================================
--- trunk/dports/net/wget/Portfile	2009-01-31 06:58:50 UTC (rev 46175)
+++ trunk/dports/net/wget/Portfile	2009-01-31 08:11:00 UTC (rev 46176)
@@ -1,10 +1,11 @@
 # $Id$
 
 PortSystem              1.0
+PortGroup               muniversal 1.0
 
 name                    wget
 version                 1.11.4
-revision                2
+revision                3
 categories              net www
 maintainers             ryandesign
 homepage                http://www.gnu.org/software/wget/
@@ -37,6 +38,13 @@
     port:openssl \
     port:gettext
 
+# So that +universal can use gettext and openssl on Tiger; see #18276.
+configure.ldflags-append        -liconv
+if {![variant_isset no_ssl]} {
+    depends_build-append        port:pkgconfig
+    configure.ldflags-append    [exec ${prefix}/bin/pkg-config --libs libssl]
+}
+
 # As of 1.11.3, the tests are known to be incomplete or even broken. See
 # ${worksrcpath}/tests/README for the current status of the test suite.
 test.run                no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090131/1a6481bf/attachment.html>


More information about the macports-changes mailing list