Modified: trunk/dports/devel/pure-gen/Portfile (74820 => 74821)
--- trunk/dports/devel/pure-gen/Portfile 2011-01-03 05:27:47 UTC (rev 74820)
+++ trunk/dports/devel/pure-gen/Portfile 2011-01-03 05:35:01 UTC (rev 74821)
@@ -5,6 +5,7 @@
PortGroup pure 1.0
pure.setup gen 0.10
+revision 1
categories devel
platforms darwin
maintainers ryandesign
@@ -20,15 +21,20 @@
depends_build-append path:bin/ghc:ghc \
port:hs-language-c
+depends_lib-append port:gmp
+
# pure-gen uses gcc at runtime to parse C headers but the
# -fdirectives-only option it needs is only available in gcc 4.3 and up.
-variant gcc43 conflicts gcc44 description {Use gcc43 for runtime C header parsing} {
+variant gcc43 conflicts gcc44 gcc45 description {Use gcc43 for runtime C header parsing} {
depends_run-append path:bin/gcc-mp-4.3:gcc43
}
-variant gcc44 conflicts gcc43 description {Use gcc44 for runtime C header parsing} {
+variant gcc44 conflicts gcc43 gcc45 description {Use gcc44 for runtime C header parsing} {
depends_run-append path:bin/gcc-mp-4.4:gcc44
}
-if {![variant_isset gcc43] && ![variant_isset gcc44]} {
+variant gcc45 conflicts gcc43 gcc44 description {Use gcc45 for runtime C header parsing} {
+ depends_run-append path:bin/gcc-mp-4.5:gcc45
+}
+if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45]} {
if {${os.platform} == "darwin" && ${os.major} < 9} {
# gcc44 doesn't build for me on Tiger
default_variants +gcc43