[73145] trunk/dports/audio/phonon/Portfile

michaelld at macports.org michaelld at macports.org
Fri Nov 5 09:33:36 PDT 2010


Revision: 73145
          http://trac.macports.org/changeset/73145
Author:   michaelld at macports.org
Date:     2010-11-05 09:33:32 -0700 (Fri, 05 Nov 2010)
Log Message:
-----------
phonon: better way to handle setting arch type(s). Rev bump in case
+universal was installed recently, to get a true universal install.

Modified Paths:
--------------
    trunk/dports/audio/phonon/Portfile

Modified: trunk/dports/audio/phonon/Portfile
===================================================================
--- trunk/dports/audio/phonon/Portfile	2010-11-05 16:30:13 UTC (rev 73144)
+++ trunk/dports/audio/phonon/Portfile	2010-11-05 16:33:32 UTC (rev 73145)
@@ -6,7 +6,7 @@
 
 name                phonon
 version             4.4.2
-revision            2
+revision            3
 categories          audio kde kde4
 maintainers         nomaintainer
 description         Cross Platform Multimedia API used by KDE4
@@ -119,16 +119,23 @@
     unset PRIVATE_HEADERS
 }
 
+# set arch type(s); done is a stage to make sure the 'options
+# qt_arch_types' is evaluated -after- +universal (if selected).
+pre-configure {
+    configure.pre_args-append  CONFIG+="${qt_arch_types}"
+}
+
 # set up to use the installed QMake files
 configure.cmd       ${qt_qmake_cmd}
 configure.pre_args  \
-    CONFIG+="phonon phonon-backend ${qt_arch_types}" \
+    CONFIG+="phonon phonon-backend" \
     PHONON_MAJOR_VERSION=${PHONON_MAJOR_VERSION} \
     PHONON_MINOR_VERSION=${PHONON_MINOR_VERSION} \
     PHONON_PATCH_VERSION=${PHONON_PATCH_VERSION} \
     WORKSRCPATH=${worksrcpath} \
     LOCAL_BUILD_TREE=${PHONON_BUILD_DIR}
 configure.args      "-o Makefile phonon.pro"
+configure.universal_args
 
 if {[variant_isset debug]} {
     configure.pre_args-append CONFIG+=debug_and_release
@@ -136,10 +143,6 @@
     configure.pre_args-append CONFIG+=release
 }
 
-# qmake does not handle these flags flags
-configure.universal_args-delete --disable-dependency-tracking
-configure.args-delete           --disable-dependency-tracking
-
 # allow ccache, if specified by the user
 pre-build {
     if {[tbool configure.ccache]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101105/aeaac057/attachment.html>


More information about the macports-changes mailing list