[22321] trunk/dports/textproc/libiconv/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Feb 25 23:45:03 PST 2007


Revision: 22321
          http://trac.macosforge.org/projects/macports/changeset/22321
Author:   pipping at macports.org
Date:     2007-02-25 23:45:03 -0800 (Sun, 25 Feb 2007)

Log Message:
-----------
 * fix libiconv on 1.3.2 or earlier

Modified Paths:
--------------
    trunk/dports/textproc/libiconv/Portfile

Modified: trunk/dports/textproc/libiconv/Portfile
===================================================================
--- trunk/dports/textproc/libiconv/Portfile	2007-02-26 06:42:01 UTC (rev 22320)
+++ trunk/dports/textproc/libiconv/Portfile	2007-02-26 07:45:03 UTC (rev 22321)
@@ -54,8 +54,15 @@
                 --without-libiconv-prefix \
                 --without-libintl-prefix \
                 --enable-extra-encodings
-configure.universal_ldflags-append \
+if {[llength [info commands configure.universal_ldflags-append]] > 0} {
+    configure.universal_ldflags-append \
                 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
+} else {
+    variant universal {
+        return -code error "You need to be running MacPorts 1.4.0 or higher to \
+        use this variant (universal)."
+    }
+}
 
 pre-build {
     if {![variant_isset disable_utf8mac] || [variant_isset enable_cp932fix]} {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070225/4a414bcf/attachment.html


More information about the macports-changes mailing list