[73417] trunk/dports/audio/phonon/Portfile
michaelld at macports.org
michaelld at macports.org
Fri Nov 12 18:05:58 PST 2010
Revision: 73417
http://trac.macports.org/changeset/73417
Author: michaelld at macports.org
Date: 2010-11-12 18:05:55 -0800 (Fri, 12 Nov 2010)
Log Message:
-----------
phonon: build debug_and_release correctly (have to use "build_all").
Modified Paths:
--------------
trunk/dports/audio/phonon/Portfile
Modified: trunk/dports/audio/phonon/Portfile
===================================================================
--- trunk/dports/audio/phonon/Portfile 2010-11-13 01:58:12 UTC (rev 73416)
+++ trunk/dports/audio/phonon/Portfile 2010-11-13 02:05:55 UTC (rev 73417)
@@ -119,10 +119,17 @@
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 arch type(s); done is a stage to make sure the 'options
+ # qt_arch_types' is evaluated -after- +universal (if selected).
+ configure.pre_args-append CONFIG+="${qt_arch_types}"
+
+ # set build type
+ set build_type "release"
+ if {[variant_isset debug]} {
+ set build_type "debug_and_release build_all"
+ }
+ configure.pre_args-append CONFIG+=\"${build_type}\"
}
# set up to use the installed QMake files
@@ -137,12 +144,6 @@
configure.args "-o Makefile phonon.pro"
configure.universal_args
-if {[variant_isset debug]} {
- configure.pre_args-append CONFIG+=debug_and_release
-} else {
- configure.pre_args-append CONFIG+=release
-}
-
# 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/20101112/42ab42c2/attachment.html>
More information about the macports-changes
mailing list