[134913] trunk/dports/graphics/gegl

devans at macports.org devans at macports.org
Fri Apr 10 10:21:37 PDT 2015


Revision: 134913
          https://trac.macports.org/changeset/134913
Author:   devans at macports.org
Date:     2015-04-10 10:21:36 -0700 (Fri, 10 Apr 2015)
Log Message:
-----------
gegl: reconfigure using autogen.sh for intltool 0.51 compatibility.

Modified Paths:
--------------
    trunk/dports/graphics/gegl/Portfile

Added Paths:
-----------
    trunk/dports/graphics/gegl/files/patch-use-intltoolize.diff

Modified: trunk/dports/graphics/gegl/Portfile
===================================================================
--- trunk/dports/graphics/gegl/Portfile	2015-04-10 16:00:49 UTC (rev 134912)
+++ trunk/dports/graphics/gegl/Portfile	2015-04-10 17:21:36 UTC (rev 134913)
@@ -50,13 +50,15 @@
 
 patchfiles      patch-fix-introspection.diff \
                 patch-configure.ac.diff \
+                patch-use-intltoolize.diff \
                 patch-examples-Makefile.am.diff \
                 rename-for-altivec.patch \
                 patch-ffmpeg.diff
 
-use_autoreconf  yes
-autoreconf.args -fvi
+# reconfigure using autogen.sh for intltool 0.51 compatibility
 
+configure.cmd   ./autogen.sh
+
 compiler.blacklist *gcc*
 
 gobject_introspection yes

Added: trunk/dports/graphics/gegl/files/patch-use-intltoolize.diff
===================================================================
--- trunk/dports/graphics/gegl/files/patch-use-intltoolize.diff	                        (rev 0)
+++ trunk/dports/graphics/gegl/files/patch-use-intltoolize.diff	2015-04-10 17:21:36 UTC (rev 134913)
@@ -0,0 +1,41 @@
+From 5738b7046839f48e016db9ac4abad6e8a49d42ee Mon Sep 17 00:00:00 2001
+From: Jon Nordby <jononor at gmail.com>
+Date: Fri, 25 Apr 2014 17:14:58 +0200
+Subject: Check for and run intltoolize in autogen.sh
+
+On some platforms, including Heroku, the intltool macros cannot
+be found during build, possibly because the version of autoreconf
+does not respect ACLOCAL_PATH. Using intltoolize also allows
+to avoid a dependency on intltool when installing from tarball.
+
+diff --git a/autogen.sh b/autogen.sh
+index aa5b7a9..0f34263 100755
+--- autogen.sh
++++ autogen.sh
+@@ -21,6 +21,13 @@ if test -z $AUTORECONF; then
+         exit 1
+ fi
+ 
++INTLTOOLIZE=`which intltoolize`
++if test -z $INTLTOOLIZE; then
++        echo "*** No intltoolize found, please install the intltool package ***"
++        exit 1
++fi
++
++intltoolize --automake --copy --force
+ autoreconf --force --install --verbose
+ 
+ cd $ORIGDIR
+
+--- configure.ac.orig	2015-04-10 09:49:54.000000000 -0700
++++ configure.ac	2015-04-10 09:52:54.000000000 -0700
+@@ -485,8 +485,7 @@
+ ]))
+ LIBS=$gegl_save_LIBS
+ 
+-m4_ifdef([IT_PROG_INTLTOOL],[IT_PROG_INTLTOOL(0.40.1)],
+-  AC_MSG_ERROR([*** intltool version 0.40.1 or later required]))
++IT_PROG_INTLTOOL(0.40.1)
+ 
+ AM_GLIB_GNU_GETTEXT
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150410/cba0c3a1/attachment-0001.html>


More information about the macports-changes mailing list