[44110] trunk/dports

illogic-al at macports.org illogic-al at macports.org
Sun Dec 21 17:22:43 PST 2008


Revision: 44110
          http://trac.macports.org/changeset/44110
Author:   illogic-al at macports.org
Date:     2008-12-21 17:22:42 -0800 (Sun, 21 Dec 2008)
Log Message:
-----------
Read universal info from macports.conf

Modified Paths:
--------------
    trunk/dports/audio/phonon/Portfile
    trunk/dports/devel/akonadi/Portfile
    trunk/dports/devel/soprano/Portfile

Modified: trunk/dports/audio/phonon/Portfile
===================================================================
--- trunk/dports/audio/phonon/Portfile	2008-12-22 00:52:07 UTC (rev 44109)
+++ trunk/dports/audio/phonon/Portfile	2008-12-22 01:22:42 UTC (rev 44110)
@@ -33,12 +33,12 @@
 		-DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
 		-DCMAKE_INSTALL_PREFIX=${prefix} \
 		-DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
-		-DCMAKE_OSX_SYSROOT=${sysroot} \
+		-DCMAKE_OSX_SYSROOT=${universal_sysroot} \
 		-Wno-dev
 
-variant universal description "Compile for ppc and intel architectures" {
+variant universal {
     configure.universal_args-delete  --disable-dependency-tracking
-    configure.args-append	-DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\"
+    configure.args-append	-DCMAKE_OSX_ARCHITECTURES=\"[strsed ${configure.universal_archs} "g| |;|"]\"
 }
 
 variant debug description "Enable debug binaries" {

Modified: trunk/dports/devel/akonadi/Portfile
===================================================================
--- trunk/dports/devel/akonadi/Portfile	2008-12-22 00:52:07 UTC (rev 44109)
+++ trunk/dports/devel/akonadi/Portfile	2008-12-22 01:22:42 UTC (rev 44110)
@@ -33,12 +33,12 @@
 		-DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
 		-DCMAKE_INSTALL_PREFIX=${prefix} \
-		-DCMAKE_OSX_SYSROOT=${sysroot} \
+		-DCMAKE_OSX_SYSROOT=${universal_sysroot} \
 		-Wno-dev
 
-variant universal description "Compile for ppc and intel architectures" {
+variant universal {
     configure.universal_args-delete  --disable-dependency-tracking
-    configure.args-append	-DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\"
+    configure.args-append	-DCMAKE_OSX_ARCHITECTURES=\"[strsed ${configure.universal_archs} "g| |;|"]\"
 }
 
 variant debug description "Enable debug binaries" {

Modified: trunk/dports/devel/soprano/Portfile
===================================================================
--- trunk/dports/devel/soprano/Portfile	2008-12-22 00:52:07 UTC (rev 44109)
+++ trunk/dports/devel/soprano/Portfile	2008-12-22 01:22:42 UTC (rev 44110)
@@ -32,12 +32,12 @@
 		-DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
 		-DCMAKE_INSTALL_PREFIX=${prefix} \
-		-DCMAKE_OSX_SYSROOT=${sysroot} \
+		-DCMAKE_OSX_SYSROOT=${universal_sysroot} \
 		-Wno-dev
 
-variant universal description "Compile for ppc and intel architectures" {
+variant universal description {
     configure.universal_args-delete  --disable-dependency-tracking
-    configure.args-append	-DCMAKE_OSX_ARCHITECTURES=\"ppc\;i386\"
+    configure.args-append	-DCMAKE_OSX_ARCHITECTURES=\"[strsed ${configure.universal_archs} "g| |;|"]\"
 }
 
 variant debug description "Enable debug binaries" {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081221/724f15e1/attachment-0001.html>


More information about the macports-changes mailing list