Index: gcc44/Portfile
===================================================================
--- gcc44/Portfile	(revision 70412)
+++ gcc44/Portfile	(working copy)
@@ -86,7 +86,9 @@
 		--with-gmp=${prefix} \
 		--with-mpfr=${prefix} \
 		--enable-stage1-checking \
-		--disable-multilib
+		--disable-multilib \
+		--without-ppl \
+		--without-cloog
 # do NOT use MacPorts binutils -- they do not work
 configure.env-append    AR_FOR_TARGET=/usr/bin/ar \
 			AS_FOR_TARGET=/usr/bin/as \
@@ -148,6 +150,12 @@
     configure.args-delete --disable-multilib
 }
 
+variant graphite description { enable the Graphite loop optimizations } {
+    depends_lib-append      port:ppl port:cloog-ppl
+    configure.args-delete   --without-ppl --without-cloog
+    configure.args-append   --with-ppl=${prefix} --with-cloog=${prefix}
+}
+
 livecheck.type	regex
 livecheck.url	http://gcc.gnu.org/gcc-4.4/
 livecheck.regex	GCC (4\\.4\\.\[0-9\])
Index: gcc45/Portfile
===================================================================
--- gcc45/Portfile	(revision 70412)
+++ gcc45/Portfile	(working copy)
@@ -103,7 +103,9 @@
 		--with-mpfr=${prefix} \
 		--with-mpc=${prefix} \
 		--enable-stage1-checking \
-		--disable-multilib
+		--disable-multilib \
+		--without-ppl \
+		--without-cloog
 # do NOT use MacPorts binutils -- they do not work
 configure.env-append    AR_FOR_TARGET=/usr/bin/ar \
 			AS_FOR_TARGET=/usr/bin/as \
@@ -152,6 +154,12 @@
     configure.args-delete --disable-multilib
 }
 
+variant graphite description { enable the Graphite loop optimizations } {
+    depends_lib-append      port:ppl port:cloog-ppl
+    configure.args-delete   --without-ppl --without-cloog
+    configure.args-append   --with-ppl=${prefix} --with-cloog=${prefix}
+}
+
 livecheck.type  regex
 livecheck.url   http://gcc.gnu.org/gcc-4.5/
 livecheck.regex GCC (4\\.5\\.\[0-9\])
Index: gcc46/Portfile
===================================================================
--- gcc46/Portfile	(revision 70412)
+++ gcc46/Portfile	(working copy)
@@ -102,7 +102,9 @@
 		--with-mpfr=${prefix} \
 		--with-mpc=${prefix} \
 		--enable-stage1-checking \
-		--disable-multilib
+		--disable-multilib \
+		--without-ppl \
+		--without-cloog
 # do NOT use MacPorts binutils -- they do not work
 configure.env-append    AR_FOR_TARGET=/usr/bin/ar \
 			AS_FOR_TARGET=/usr/bin/as \
@@ -133,6 +135,12 @@
 	configure.args-append --enable-fully-dynamic-string
 }
 
+variant graphite description { enable the Graphite loop optimizations } {
+    depends_lib-append      port:ppl port:cloog-ppl
+    configure.args-delete   --without-ppl --without-cloog
+    configure.args-append   --with-ppl=${prefix} --with-cloog=${prefix}
+}
+
 # due to popular request - untested for the BETA; will be removed as soon as other languages than C compile successfuly
 variant gfortran conflicts java \
 	description "Enables Fortran/gfortran; this language will be enabled in the final version - this variant is completely untested!" {

