[44099] trunk/dports/kde
illogic-al at macports.org
illogic-al at macports.org
Sun Dec 21 10:47:11 PST 2008
Revision: 44099
http://trac.macports.org/changeset/44099
Author: illogic-al at macports.org
Date: 2008-12-21 10:47:10 -0800 (Sun, 21 Dec 2008)
Log Message:
-----------
Add gcc-4.2 as required compiler.
Read universal settings from macports.conf.
Modified Paths:
--------------
trunk/dports/kde/kdebase4/Portfile
trunk/dports/kde/kdebase4-runtime/Portfile
Modified: trunk/dports/kde/kdebase4/Portfile
===================================================================
--- trunk/dports/kde/kdebase4/Portfile 2008-12-21 18:32:00 UTC (rev 44098)
+++ trunk/dports/kde/kdebase4/Portfile 2008-12-21 18:47:10 UTC (rev 44099)
@@ -35,6 +35,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,12 +44,12 @@
-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
-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/kde/kdebase4-runtime/Portfile
===================================================================
--- trunk/dports/kde/kdebase4-runtime/Portfile 2008-12-21 18:32:00 UTC (rev 44098)
+++ trunk/dports/kde/kdebase4-runtime/Portfile 2008-12-21 18:47:10 UTC (rev 44099)
@@ -29,6 +29,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 \
@@ -38,12 +39,12 @@
-DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/ \
-DPHONON_INCLUDE_DIR=${prefix}/include \
-DPHONON_LIBRARY=${prefix}/lib/libphonon.dylib \
- -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" {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081221/879f6470/attachment.html>
More information about the macports-changes
mailing list