--- Portfile.orig	2009-12-22 18:00:23.000000000 +0100
+++ Portfile	2009-12-22 18:03:02.000000000 +0100
@@ -5,7 +5,7 @@
 
 name            gimp2
 version         2.6.7
-revision        1
+revision        2
 categories      graphics
 maintainers     devans
 homepage        http://www.gimp.org/
@@ -30,7 +30,8 @@
 distname        gimp-${version}
 use_bzip2       yes
 
-patchfiles      patch-etc-gimprc.diff
+patchfiles      patch-etc-gimprc.diff \
+                patch-plug-ins-twain-tw_mac.c.diff
 
 depends_build   port:pkgconfig \
                 port:intltool \
@@ -59,6 +60,12 @@
     }
 }
 
+platform darwin 10 { 
+        if {$build_arch == "x86_64"} {
+                configure.args-append --build=x86_64-apple-darwin10.0.0
+        }
+}
+
 use_parallel_build  yes
 configure.python    ${prefix}/bin/python2.5
 configure.args  --enable-mp \

