[44101] trunk/dports/kde/kdelibs4/Portfile

illogic-al at macports.org illogic-al at macports.org
Sun Dec 21 10:57:55 PST 2008


Revision: 44101
          http://trac.macports.org/changeset/44101
Author:   illogic-al at macports.org
Date:     2008-12-21 10:57:55 -0800 (Sun, 21 Dec 2008)
Log Message:
-----------
Add pcre and shared-mime-info dependencies. Fixes ticket #17562 partially.
Also add gcc-4.2 as required compiler. 
Read universal settings from macports.conf.

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

Modified: trunk/dports/kde/kdelibs4/Portfile
===================================================================
--- trunk/dports/kde/kdelibs4/Portfile	2008-12-21 18:51:49 UTC (rev 44100)
+++ trunk/dports/kde/kdelibs4/Portfile	2008-12-21 18:57:55 UTC (rev 44101)
@@ -21,6 +21,7 @@
     	            port:strigi port:gettext \
                     port:aspell port:enchant \
                     port:bzip2 port:zlib \
+                    port:pcre port:shared-mime-info \
                     port:jpeg port:libpng \
                     lib:libgif:giflib port:tiff \
                     port:jasper port:openexr \
@@ -35,6 +36,7 @@
 
 configure.cmd       cmake
 configure.ccache    no
+configure.compiler  gcc-4.2
 configure.args	../${distname} -DBUILD_SHARED_LIBS=ON \
 		-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
 		-DCMAKE_VERBOSE_MAKEFILE=ON \
@@ -43,7 +45,7 @@
 		-DCMAKE_INSTALL_PREFIX=${prefix} \
 		-DPHONON_INCLUDE_DIR=${prefix}/include \
 		-DPHONON_LIBRARY=${prefix}/lib/libphonon.dylib \
-		-DCMAKE_OSX_SYSROOT=${sysroot} \
+		-DCMAKE_OSX_SYSROOT=${universal_sysroot} \
 		-Wno-dev
 
 #post-configure {
@@ -51,9 +53,9 @@
 #}
 # Need to test if this is still necessary
 
-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/20081221/eb00392a/attachment.html>


More information about the macports-changes mailing list