[44250] trunk/dports/kde/kdegraphics4/Portfile

illogic-al at macports.org illogic-al at macports.org
Tue Dec 23 21:13:52 PST 2008


Revision: 44250
          http://trac.macports.org/changeset/44250
Author:   illogic-al at macports.org
Date:     2008-12-23 21:13:51 -0800 (Tue, 23 Dec 2008)
Log Message:
-----------
read universal settings from macports.conf

Modified Paths:
--------------
    trunk/dports/kde/kdegraphics4/Portfile

Modified: trunk/dports/kde/kdegraphics4/Portfile
===================================================================
--- trunk/dports/kde/kdegraphics4/Portfile	2008-12-23 23:51:57 UTC (rev 44249)
+++ trunk/dports/kde/kdegraphics4/Portfile	2008-12-24 05:13:51 UTC (rev 44250)
@@ -24,7 +24,7 @@
 # Poppler needs to be installed with +quartz +qt4 variants
 # so this portfile needs to ensure enventually that this happens
 
-depends_build       port:cmake
+depends_build       port:cmake port:automoc
 
 use_parallel_build  yes
 worksrcdir          build
@@ -43,14 +43,14 @@
 		-DPHONON_LIBRARY=${prefix}/lib/libphonon.dylib \
 		-DQCA2_LIBRARIES=${prefix}/lib/libqca.2.dylib \
 		-DQCA2_INCLUDE_DIR=${prefix}/include/QtCrypto \
-		-DCMAKE_OSX_SYSROOT=${sysroot} \
+		-DCMAKE_OSX_SYSROOT=${universal_sysroot} \
 		-Wno-dev
 # Manually defining qca location forces building of Okular's
 # encrytped openoffice document viewer. Might not want to do that.
 
-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" {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081223/7d9069d1/attachment.html>


More information about the macports-changes mailing list