[74755] trunk/dports/devel/activewire/Portfile
jmr at macports.org
jmr at macports.org
Sat Jan 1 08:52:48 PST 2011
Revision: 74755
http://trac.macports.org/changeset/74755
Author: jmr at macports.org
Date: 2011-01-01 08:52:41 -0800 (Sat, 01 Jan 2011)
Log Message:
-----------
activewire: remove get_build_args proc that was just copied from the xcode portgroup and has since changed, and extract as root
Modified Paths:
--------------
trunk/dports/devel/activewire/Portfile
Modified: trunk/dports/devel/activewire/Portfile
===================================================================
--- trunk/dports/devel/activewire/Portfile 2011-01-01 16:50:25 UTC (rev 74754)
+++ trunk/dports/devel/activewire/Portfile 2011-01-01 16:52:41 UTC (rev 74755)
@@ -26,6 +26,7 @@
worksrcdir ${distname}/Source/
use_dmg yes
+set extract.asroot yes
xcode.configuration Default
default_variants +doc \
@@ -53,45 +54,6 @@
}
}
-proc xcode::get_build_args {args} {
- global tcl_platform
- global universal_archs universal_target macosx_deployment_target
- global os.major os.arch
- global developer_dir
-
- set xcode_build_args "OBJROOT=build/ SYMROOT=build/"
-
- # MACOSX_DEPLOYMENT_TARGET
- if {[variant_isset universal] && [info exists universal_target]} {
- append xcode_build_args " MACOSX_DEPLOYMENT_TARGET=${universal_target}"
- } else {
- append xcode_build_args " MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target}"
- }
-
- # ARCHS
- if {[variant_isset universal]} {
- append xcode_build_args " ARCHS=\"${universal_archs}\""
- } else {
- if {${os.major} >= 10 && $tcl_platform(wordSize) == 8} {
- append xcode_build_args " ARCHS=x86_64"
- } elseif {${os.arch} == "powerpc"} {
- append xcode_build_args " ARCHS=ppc"
- } else {
- append xcode_build_args " ARCHS=i386"
- }
- }
-
- # SDKROOT
- if {[variant_isset universal] && ${os.arch} == "powerpc" && ${os.major} == "8"} {
- if {[info exists developer_dir]} {
- append xcode_build_args " SDKROOT=\"${developer_dir}/SDKs/MacOSX10.4u.sdk\""
- } else {
- append xcode_build_args " SDKROOT=\"/Developer/SDKs/MacOSX10.4u.sdk\""
- }
- }
- return $xcode_build_args
-}
-
build {
set xcode_build_args [xcode::get_build_args]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110101/736a6e65/attachment.html>
More information about the macports-changes
mailing list