Revision
124730
Author
devans@macports.org
Date
2014-08-27 10:52:16 -0700 (Wed, 27 Aug 2014)

Log Message

gimp2: update intltool macros in pre-configure to ensure that intltool has been installed, fixes possible build failure.

Modified Paths

Diff

Modified: trunk/dports/graphics/gimp2/Portfile (124729 => 124730)


--- trunk/dports/graphics/gimp2/Portfile	2014-08-27 17:36:19 UTC (rev 124729)
+++ trunk/dports/graphics/gimp2/Portfile	2014-08-27 17:52:16 UTC (rev 124730)
@@ -112,8 +112,16 @@
     } else {
             error "Cannot find gdkconfig.h"
     }
+
+# update m4macros/intltool.m4 and autoreconf
+
+    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4macros
 }
 
+
+use_autoreconf  yes
+autoreconf.args -fvi
+
 configure.args  --build=${configure.build_arch}-apple-${os.platform}${os.version} \
                 --enable-mp \
                 --with-pdbgen \
@@ -133,15 +141,6 @@
 #     It doesn't build any more anyways:
 #         https://trac.macports.org/ticket/35168
 
-# update m4macros/intltool.m4 and autoreconf
-
-post-patch {
-    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4macros
-}
-
-use_autoreconf  yes
-autoreconf.args -fvi
-
 variant python26 conflicts python27 description {Use python 2.6} {
     configure.args-delete     --disable-python
     configure.python          ${prefix}/bin/python2.6