[47091] trunk/dports/graphics
ryandesign at macports.org
ryandesign at macports.org
Sat Feb 21 15:24:19 PST 2009
Revision: 47091
http://trac.macports.org/changeset/47091
Author: ryandesign at macports.org
Date: 2009-02-21 15:24:19 -0800 (Sat, 21 Feb 2009)
Log Message:
-----------
graphviz, graphviz-devel: Remove Xcode 3.0 libGL workaround; require Xcode 3.1+ instead
Modified Paths:
--------------
trunk/dports/graphics/graphviz/Portfile
trunk/dports/graphics/graphviz-devel/Portfile
Modified: trunk/dports/graphics/graphviz/Portfile
===================================================================
--- trunk/dports/graphics/graphviz/Portfile 2009-02-21 23:21:59 UTC (rev 47090)
+++ trunk/dports/graphics/graphviz/Portfile 2009-02-21 23:24:19 UTC (rev 47091)
@@ -53,10 +53,15 @@
}
}
-platform darwin 9 {
- # http://developer.apple.com/qa/qa2007/qa1567.html
- 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 {
+ if {"darwin" == ${os.platform} && 9 == ${os.major}} {
+ 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"
+ }
+ }
}
depends_lib \
Modified: trunk/dports/graphics/graphviz-devel/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-devel/Portfile 2009-02-21 23:21:59 UTC (rev 47090)
+++ trunk/dports/graphics/graphviz-devel/Portfile 2009-02-21 23:24:19 UTC (rev 47091)
@@ -52,10 +52,15 @@
}
}
-platform darwin 9 {
- # http://developer.apple.com/qa/qa2007/qa1567.html
- 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 {
+ if {"darwin" == ${os.platform} && 9 == ${os.major}} {
+ 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"
+ }
+ }
}
depends_lib \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090221/75915830/attachment.html>
More information about the macports-changes
mailing list