[135569] trunk/dports/gnome/libgnome

devans at macports.org devans at macports.org
Sun Apr 26 10:08:01 PDT 2015


Revision: 135569
          https://trac.macports.org/changeset/135569
Author:   devans at macports.org
Date:     2015-04-26 10:08:01 -0700 (Sun, 26 Apr 2015)
Log Message:
-----------
libgnome: reconfigure using upstream autogen.sh for intltool 0.51 compatibility.

Modified Paths:
--------------
    trunk/dports/gnome/libgnome/Portfile

Added Paths:
-----------
    trunk/dports/gnome/libgnome/files/autogen.sh

Modified: trunk/dports/gnome/libgnome/Portfile
===================================================================
--- trunk/dports/gnome/libgnome/Portfile	2015-04-26 16:04:34 UTC (rev 135568)
+++ trunk/dports/gnome/libgnome/Portfile	2015-04-26 17:08:01 UTC (rev 135569)
@@ -25,7 +25,10 @@
 depends_build   port:pkgconfig \
                 port:intltool \
                 port:gnome-common \
-                port:gtk-doc
+                port:gtk-doc \
+                port:autoconf \
+                port:automake \
+                port:libtool
 
 depends_lib \
     port:libbonobo \
@@ -36,14 +39,13 @@
 
 patchfiles      patch-libgnome-Makefile.am.diff
 
-# update m4/intltool.m4 and autoreconf
+# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
 
-pre-configure {
-    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
+post-patch {
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
 }
 
-use_autoreconf      yes
-autoreconf.args     -fvi
+configure.cmd   ./autogen.sh
 
 configure.args  --disable-schemas-install
 

Added: trunk/dports/gnome/libgnome/files/autogen.sh
===================================================================
--- trunk/dports/gnome/libgnome/files/autogen.sh	                        (rev 0)
+++ trunk/dports/gnome/libgnome/files/autogen.sh	2015-04-26 17:08:01 UTC (rev 135569)
@@ -0,0 +1,19 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="libgnome"
+
+(test -f $srcdir/configure.in \
+  && test -f $srcdir/autogen.sh \
+  && test -d $srcdir/libgnome) || {
+    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+    echo " top-level $PKG_NAME directory"
+    exit 1
+}
+
+REQUIRED_AUTOMAKE_VERSION=1.9
+REQUIRED_INTLTOOL_VERSION=0.40.0
+. gnome-autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150426/31853a42/attachment-0001.html>


More information about the macports-changes mailing list