Revision
74551
Author
snc@macports.org
Date
2010-12-21 11:09:01 -0800 (Tue, 21 Dec 2010)

Log Message

pgplot: add gcc45 variant, #27671

Modified Paths

Diff

Modified: trunk/dports/graphics/pgplot/Portfile (74550 => 74551)


--- trunk/dports/graphics/pgplot/Portfile	2010-12-21 19:08:50 UTC (rev 74550)
+++ trunk/dports/graphics/pgplot/Portfile	2010-12-21 19:09:01 UTC (rev 74551)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem			1.0
+
 name				pgplot
 version				5.2.2
 revision			5
@@ -209,27 +210,31 @@
     }
 }
 
-variant gcc42 description {build with gfortran from gcc42} conflicts gcc43 gcc44 g95 {
+variant gcc42 description {build with gfortran from gcc42} conflicts gcc43 gcc44 gcc45 g95 {
     depends_lib-append  port:gcc42
     configure.fc  ${prefix}/bin/gfortran-mp-4.2
 }
 
-variant gcc43 description {build with gfortran from gcc43} conflicts gcc42 gcc44 g95 {
+variant gcc43 description {build with gfortran from gcc43} conflicts gcc42 gcc44 gcc45 g95 {
     depends_lib-append  port:gcc43
     configure.fc  ${prefix}/bin/gfortran-mp-4.3
 }
 
-variant gcc44 description {build with gfortran from gcc44} conflicts gcc42 gcc43 g95 {
+variant gcc44 description {build with gfortran from gcc44} conflicts gcc42 gcc43 gcc45 g95 {
     depends_lib-append  port:gcc44
     configure.fc  ${prefix}/bin/gfortran-mp-4.4
 }
 
-variant g95 description {build with g95} conflicts gcc42 gcc43 gcc44 {
+variant gcc45 description {build with gfortran from gcc45} conflicts gcc42 gcc43 gcc44 g95 {
+    depends_lib-append  port:gcc45
+    configure.fc  ${prefix}/bin/gfortran-mp-4.5
+}
+variant g95 description {build with g95} conflicts gcc42 gcc43 gcc44 gcc45 {
     depends_lib-append  port:g95
     configure.fc  ${prefix}/bin/g95
 }
 
-if {![variant_isset g95] && ![variant_isset gcc42] && ![variant_isset gcc43]} {
+if {![variant_isset g95] && ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc45]} {
     default_variants +gcc44
 }