[119452] trunk/dports/devel/openfst/Portfile
hum at macports.org
hum at macports.org
Fri Apr 25 19:30:43 PDT 2014
Revision: 119452
https://trac.macports.org/changeset/119452
Author: hum at macports.org
Date: 2014-04-25 19:30:43 -0700 (Fri, 25 Apr 2014)
Log Message:
-----------
openfst: update to 1.4.0 for 10.8 Mountain Lion or later.
Modified Paths:
--------------
trunk/dports/devel/openfst/Portfile
Modified: trunk/dports/devel/openfst/Portfile
===================================================================
--- trunk/dports/devel/openfst/Portfile 2014-04-26 01:42:36 UTC (rev 119451)
+++ trunk/dports/devel/openfst/Portfile 2014-04-26 02:30:43 UTC (rev 119452)
@@ -4,7 +4,7 @@
PortSystem 1.0
name openfst
-version 1.3.4
+version 1.4.0
categories devel
maintainers hum openmaintainer
@@ -19,30 +19,34 @@
license Apache-2
master_sites ${homepage}twiki/pub/FST/FstDownload/
-checksums rmd160 5f9c9c059150dd5afb894ea1edc7dd4d7d22a166 \
+checksums rmd160 0d25d26fb08b7360d15d37d3ec14920e69adab7c \
+ sha256 eb557f37560438f03912b4e43335c4c9e72aa486d4f2046127131185eb88f17a
+
+if {${os.platform} eq "darwin" && ${os.major} < 12} {
+ version 1.3.4
+ checksums rmd160 5f9c9c059150dd5afb894ea1edc7dd4d7d22a166 \
sha256 e95fa96674e1c9d6866bbf79b9cd755c5121ad165b76224c7c6bbfa139399a61
-
-patchfiles patch-c++11.diff patch-src-include-fst-config.h.in.diff
-
-# OpenFst doesn't like Xcode's compiler before Snow Leopard.
-# See http://www.openfst.org/twiki/bin/view/FST/CompilingOnMacOSX
-# TODO: Change this to compiler.blacklist
-if {${os.platform} eq "darwin" && ${os.major} < 10} {
- variant gcc43 conflicts gcc44 gcc45 description {Compile with gcc 4.3} {
- configure.compiler macports-gcc-4.3
+ patchfiles patch-c++11.diff patch-src-include-fst-config.h.in.diff
+ # OpenFst doesn't like Xcode's compiler before Snow Leopard.
+ # See http:/www.openfst.org/twiki/bin/view/FST/CompilingOnMacOSX
+ # TODO: Change this to compiler.blacklist
+ if {${os.major} < 10} {
+ variant gcc43 conflicts gcc44 gcc45 description {Compile with gcc 4.3} {
+ configure.compiler macports-gcc-4.3
+ }
+
+ variant gcc44 conflicts gcc43 gcc45 description {Compile with gcc 4.4} {
+ configure.compiler macports-gcc-4.4
+ }
+
+ variant gcc45 conflicts gcc43 gcc44 description {Compile with gcc 4.5} {
+ configure.compiler macports-gcc-4.5
+ }
+
+ if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45]} {
+ default_variants +gcc45
+ }
}
-
- variant gcc44 conflicts gcc43 gcc45 description {Compile with gcc 4.4} {
- configure.compiler macports-gcc-4.4
- }
-
- variant gcc45 conflicts gcc43 gcc44 description {Compile with gcc 4.5} {
- configure.compiler macports-gcc-4.5
- }
-
- if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45]} {
- default_variants +gcc45
- }
}
post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140425/f34c1b45/attachment.html>
More information about the macports-changes
mailing list