[78341] trunk/dports/lang
ryandesign at macports.org
ryandesign at macports.org
Tue May 3 23:34:40 PDT 2011
Revision: 78341
http://trac.macports.org/changeset/78341
Author: ryandesign at macports.org
Date: 2011-05-03 23:34:39 -0700 (Tue, 03 May 2011)
Log Message:
-----------
pure, pure-devel: ensure we're running MacPorts' llvm-config
Modified Paths:
--------------
trunk/dports/lang/pure/Portfile
trunk/dports/lang/pure-devel/Portfile
Modified: trunk/dports/lang/pure/Portfile
===================================================================
--- trunk/dports/lang/pure/Portfile 2011-05-04 04:19:14 UTC (rev 78340)
+++ trunk/dports/lang/pure/Portfile 2011-05-04 06:34:39 UTC (rev 78341)
@@ -66,12 +66,12 @@
set arch PowerPC
set llvm_minimum_version 2.6
}
- set llvm_installed_version [exec llvm-config --version]
+ set llvm_installed_version [exec ${prefix}/bin/llvm-config --version]
if {[rpm-vercomp ${llvm_installed_version} ${llvm_minimum_version}] < 0} {
ui_error "${name} ${version} requires llvm ${llvm_minimum_version} or later on ${arch} but you have llvm ${llvm_installed_version}."
return -code error "incompatible llvm version"
}
- set llvm_cflags [exec llvm-config --cflags]
+ set llvm_cflags [exec ${prefix}/bin/llvm-config --cflags]
if {-1 != [string first -mdynamic-no-pic ${llvm_cflags}]} {
ui_error "${name} ${version} requires llvm be compiled using position-independent code (PIC)"
return -code error "incompatible llvm installation"
Modified: trunk/dports/lang/pure-devel/Portfile
===================================================================
--- trunk/dports/lang/pure-devel/Portfile 2011-05-04 04:19:14 UTC (rev 78340)
+++ trunk/dports/lang/pure-devel/Portfile 2011-05-04 06:34:39 UTC (rev 78341)
@@ -73,12 +73,12 @@
set arch PowerPC
set llvm_minimum_version 2.6
}
- set llvm_installed_version [exec llvm-config --version]
+ set llvm_installed_version [exec ${prefix}/bin/llvm-config --version]
if {[rpm-vercomp ${llvm_installed_version} ${llvm_minimum_version}] < 0} {
ui_error "${name} ${version} requires llvm ${llvm_minimum_version} or later on ${arch} but you have llvm ${llvm_installed_version}."
return -code error "incompatible llvm version"
}
- set llvm_cflags [exec llvm-config --cflags]
+ set llvm_cflags [exec ${prefix}/bin/llvm-config --cflags]
if {-1 != [string first -mdynamic-no-pic ${llvm_cflags}]} {
ui_error "${name} ${version} requires llvm be compiled using position-independent code (PIC)"
return -code error "incompatible llvm installation"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110503/fd297cd9/attachment.html>
More information about the macports-changes
mailing list