[74821] trunk/dports/devel/pure-gen/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jan 2 21:35:07 PST 2011


Revision: 74821
          http://trac.macports.org/changeset/74821
Author:   ryandesign at macports.org
Date:     2011-01-02 21:35:01 -0800 (Sun, 02 Jan 2011)
Log Message:
-----------
pure-gen: add gcc45 variant and gmp library dependency

Modified Paths:
--------------
    trunk/dports/devel/pure-gen/Portfile

Modified: trunk/dports/devel/pure-gen/Portfile
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110102/3b84a1ce/attachment-0001.html>


More information about the macports-changes mailing list