[47097] trunk/dports/devel/ode/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Feb 21 15:47:23 PST 2009
Revision: 47097
http://trac.macports.org/changeset/47097
Author: ryandesign at macports.org
Date: 2009-02-21 15:47:22 -0800 (Sat, 21 Feb 2009)
Log Message:
-----------
ode: remove Leopard Xcode 3.0 libGL workaround; require Xcode 3.1+ instead
Modified Paths:
--------------
trunk/dports/devel/ode/Portfile
Modified: trunk/dports/devel/ode/Portfile
===================================================================
--- trunk/dports/devel/ode/Portfile 2009-02-21 23:46:25 UTC (rev 47096)
+++ trunk/dports/devel/ode/Portfile 2009-02-21 23:47:22 UTC (rev 47097)
@@ -38,9 +38,14 @@
platform darwin 9 {
patchfiles-append patch-include-ode-config.h.in.diff
- configure.ldflags-append -dylib_file \
- /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
- /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
+ pre-extract {
+ set minimum_xcodeversion 3.1
+ set current_xcodeversion [exec defaults read /Developer/Applications/Xcode.app/Contents/Info CFBundleShortVersionString]
+ if {[rpm-vercomp ${current_xcodeversion} ${minimum_xcodeversion}] < 0} {
+ ui_msg "On Mac OS X ${macosx_version}, ${name} ${version} requires Xcode ${minimum_xcodeversion} or later but you have Xcode ${current_xcodeversion}."
+ return -code error "incompatible Xcode version"
+ }
+ }
}
build.type gnu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090221/35f83956/attachment.html>
More information about the macports-changes
mailing list