[23181] trunk/dports

source_changes at macosforge.org source_changes at macosforge.org
Mon Mar 26 17:49:07 PDT 2007


Revision: 23181
          http://trac.macosforge.org/projects/macports/changeset/23181
Author:   pipping at macports.org
Date:     2007-03-26 17:49:05 -0700 (Mon, 26 Mar 2007)

Log Message:
-----------
 * variant universal: remove flags obsoleted by [23098].

Modified Paths:
--------------
    trunk/dports/graphics/libpng/Portfile
    trunk/dports/lang/gawk/Portfile
    trunk/dports/sysutils/grep/Portfile
    trunk/dports/sysutils/srm/Portfile
    trunk/dports/textproc/libiconv/Portfile
    trunk/dports/www/neon/Portfile

Modified: trunk/dports/graphics/libpng/Portfile
===================================================================
--- trunk/dports/graphics/libpng/Portfile	2007-03-27 00:22:42 UTC (rev 23180)
+++ trunk/dports/graphics/libpng/Portfile	2007-03-27 00:49:05 UTC (rev 23181)
@@ -28,16 +28,6 @@
 configure.args	--mandir=${prefix}/share/man
 configure.env	CFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
 
-if {[llength [info commands configure.universal_ldflags-append]] > 0} {
-    configure.universal_ldflags-append  -L${prefix}/lib
-    configure.universal_cflags-append   -I${prefix}/include
-} else {
-    variant universal {
-        return -code error "You need to be running MacPorts 1.5.0 or higher to \
-        use this variant (universal)."
-    }
-}
-
 test.run        yes
 test.target     check
 

Modified: trunk/dports/lang/gawk/Portfile
===================================================================
--- trunk/dports/lang/gawk/Portfile	2007-03-27 00:22:42 UTC (rev 23180)
+++ trunk/dports/lang/gawk/Portfile	2007-03-27 00:49:05 UTC (rev 23181)
@@ -29,15 +29,6 @@
 
 configure.env   CFLAGS="-I${prefix}/include -L${prefix}/lib"
 
-if {[llength [info commands configure.universal_ldflags-append]] > 0} {
-    configure.universal_cflags-append -I${prefix}/include -L${prefix}/lib
-} else {
-    variant universal {
-        return -code error "You need to be running MacPorts 1.5.0 or higher to \
-        use this variant (universal)."
-    }
-}
-
 test.run        yes
 test.target     check
 

Modified: trunk/dports/sysutils/grep/Portfile
===================================================================
--- trunk/dports/sysutils/grep/Portfile	2007-03-27 00:22:42 UTC (rev 23180)
+++ trunk/dports/sysutils/grep/Portfile	2007-03-27 00:49:05 UTC (rev 23181)
@@ -21,14 +21,6 @@
                 --mandir=${prefix}/share/man
 configure.env   CPPFLAGS="-I${prefix}/include" \
                 LDFLAGS="-L${prefix}/lib"
-if {[llength [info commands configure.universal_ldflags-append]] > 0} {
-    configure.universal_ldflags-append -L${prefix}/lib
-} else {
-    variant universal {
-        return -code error "You need to be running MacPorts 1.5.0 or higher to \
-          use this variant (universal)."
-    }
-}
 depends_lib     port:gettext port:libiconv
 
 test.run        yes

Modified: trunk/dports/sysutils/srm/Portfile
===================================================================
--- trunk/dports/sysutils/srm/Portfile	2007-03-27 00:22:42 UTC (rev 23180)
+++ trunk/dports/sysutils/srm/Portfile	2007-03-27 00:49:05 UTC (rev 23181)
@@ -21,13 +21,3 @@
 configure.args  --mandir=${prefix}/share/man 
 configure.env   CPPFLAGS="-I${prefix}/include -L${prefix}/lib" \
                 CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" 
-
-if {[llength [info commands configure.universal_ldflags-append]] > 0} {
-    configure.universal_cflags-append \
-      -no-cpp-precomp -flat_namespace -undefined suppress
-} else {
-    variant universal {
-        return -code error "You need to be running MacPorts 1.5.0 or higher to \
-        use this variant (universal)."
-    }
-}

Modified: trunk/dports/textproc/libiconv/Portfile
===================================================================
--- trunk/dports/textproc/libiconv/Portfile	2007-03-27 00:22:42 UTC (rev 23180)
+++ trunk/dports/textproc/libiconv/Portfile	2007-03-27 00:49:05 UTC (rev 23181)
@@ -54,15 +54,6 @@
                 --without-libiconv-prefix \
                 --without-libintl-prefix \
                 --enable-extra-encodings
-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.5.0 or higher to \
-        use this variant (universal)."
-    }
-}
 
 pre-build {
     if {![variant_isset disable_utf8mac] || [variant_isset enable_cp932fix]} {

Modified: trunk/dports/www/neon/Portfile
===================================================================
--- trunk/dports/www/neon/Portfile	2007-03-27 00:22:42 UTC (rev 23180)
+++ trunk/dports/www/neon/Portfile	2007-03-27 00:49:05 UTC (rev 23181)
@@ -29,24 +29,15 @@
                 --with-expat \
                 --mandir=\\\${prefix}/share/man
 
-if {[llength [info commands configure.universal_ldflags-append]] > 0} {
-    configure.universal_ldflags-append  -L$prefix/lib
+post-destroot {
     if {[variant_isset universal]} {
-        post-destroot {
-            cd ${destroot}${prefix}/bin
-            set nc neon-config
-            reinplace "s|-arch i386 -arch ppc ||g" ${nc}
-            reinplace "s|-isysroot /Developer/SDKs/MacOSX10.4u.sdk ||g" ${nc}
-        }
+        cd ${destroot}${prefix}/bin
+        set nc neon-config
+        reinplace "s|-arch i386 -arch ppc ||g" ${nc}
+        reinplace "s|-isysroot /Developer/SDKs/MacOSX10.4u.sdk ||g" ${nc}
     }
-} else {
-	variant universal {
-		return -code error "You need to be running MacPorts 1.5.0 or higher to \
-		use this variant (universal)."
-	}
 }
 
-
 destroot.destdir    prefix=${destroot}${prefix}
 
 test.env    DYLD_LIBRARY_PATH=`find ${worksrcpath} -type d -name .libs | xargs echo | sed -e 's/ /:/g'`

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070326/30884fcb/attachment.html


More information about the macports-changes mailing list