[57845] trunk/dports/lang
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 17 04:22:30 PDT 2009
Revision: 57845
http://trac.macports.org/changeset/57845
Author: ryandesign at macports.org
Date: 2009-09-17 04:22:24 -0700 (Thu, 17 Sep 2009)
Log Message:
-----------
pure update to 0.35
pure-devel: update to 0.35-r2302
All tests passed on Leopard/Intel.
Remove --enable-release because the INSTALL file encourages us not to use it "unless performance is really critical".
On PowerPC, use --disable-fastcc and require llvm 2.6 because the INSTALL file says to, noting that llvm 2.6 is not in MacPorts yet (see #21174) but that the resulting inability to install Pure at all on PowerPC is not a problem since it has never worked properly on PowerPC before (most tests in the test suite failed).
Revision Links:
--------------
http://trac.macports.org/changeset/2302
Modified Paths:
--------------
trunk/dports/lang/pure/Portfile
trunk/dports/lang/pure-devel/Portfile
Modified: trunk/dports/lang/pure/Portfile
===================================================================
--- trunk/dports/lang/pure/Portfile 2009-09-17 08:59:28 UTC (rev 57844)
+++ trunk/dports/lang/pure/Portfile 2009-09-17 11:22:24 UTC (rev 57845)
@@ -4,8 +4,7 @@
name pure
conflicts pure-devel
-version 0.34
-set branch [join [lrange [split ${version} .] 0 1] .]
+version 0.35
categories lang
platforms darwin
maintainers ryandesign
@@ -27,9 +26,9 @@
hence programs run blazingly fast and interfacing to C modules is easy.
checksums \
- md5 2483b48fda74b4e83c3f4341f06c6d7e \
- sha1 f3bc2f2875be26712319f5e2452f425d5463a370 \
- rmd160 239a2394da7efbb216ef549340f787712c4d6f6c
+ md5 e04f66c6d874b36751b495b1911d6437 \
+ sha1 b3267dfb820fafd43d08c7c096196616263987cf \
+ rmd160 bfd4b19a2c690b3faf2f83fbe321464620a92f69
depends_build \
path:bin/llvm-config:llvm
@@ -48,7 +47,6 @@
patch-Makefile.in.diff
configure.args \
- --enable-release \
--enable-gsl
platform macosx {
@@ -57,11 +55,21 @@
patchfiles-append patch-openbrowser.diff
}
+platform powerpc {
+ configure.args-append --disable-fastcc
+}
+
pre-extract {
- set llvm_minimum_version 2.4
+ if {"i386" == ${os.arch}} {
+ set arch Intel
+ set llvm_minimum_version 2.4
+ } else {
+ set arch PowerPC
+ set llvm_minimum_version 2.6
+ }
set llvm_installed_version [exec llvm-config --version]
if {[rpm-vercomp ${llvm_installed_version} ${llvm_minimum_version}] < 0} {
- ui_error "${name} ${version} requires llvm ${llvm_minimum_version} or later but you have llvm ${llvm_installed_version}."
+ 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"
}
}
Modified: trunk/dports/lang/pure-devel/Portfile
===================================================================
--- trunk/dports/lang/pure-devel/Portfile 2009-09-17 08:59:28 UTC (rev 57844)
+++ trunk/dports/lang/pure-devel/Portfile 2009-09-17 11:22:24 UTC (rev 57845)
@@ -4,8 +4,7 @@
name pure-devel
conflicts pure
-version 0.34.0.r2195
-set branch [join [lrange [split ${version} .] 0 1] .]
+version 0.35-r2302
categories lang
platforms darwin
maintainers ryandesign
@@ -16,7 +15,7 @@
fetch.type svn
svn.url ${homepage}svn/trunk/pure
-svn.revision [strsed ${version} {g/^.*\.r//}]
+svn.revision [strsed ${version} {g/^.*-r//}]
worksrcdir pure
description \
@@ -51,7 +50,6 @@
patch-Makefile.in.diff
configure.args \
- --enable-release \
--enable-gsl
platform macosx {
@@ -60,11 +58,21 @@
patchfiles-append patch-openbrowser.diff
}
+platform powerpc {
+ configure.args-append --disable-fastcc
+}
+
pre-extract {
- set llvm_minimum_version 2.4
+ if {"i386" == ${os.arch}} {
+ set arch Intel
+ set llvm_minimum_version 2.4
+ } else {
+ set arch PowerPC
+ set llvm_minimum_version 2.6
+ }
set llvm_installed_version [exec llvm-config --version]
if {[rpm-vercomp ${llvm_installed_version} ${llvm_minimum_version}] < 0} {
- ui_error "${name} ${version} requires llvm ${llvm_minimum_version} or later but you have llvm ${llvm_installed_version}."
+ 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"
}
}
@@ -72,7 +80,7 @@
test.run yes
test.target check
-livecheck.version [strsed ${version} {g/\.0\.r.*$//}]
+livecheck.version [lindex [split ${version} -] 0]
livecheck.type regex
livecheck.url ${svn.url}/configure.ac
livecheck.regex {pure, ([0-9.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090917/af4f2210/attachment.html>
More information about the macports-changes
mailing list