[134430] trunk/dports/gnome/gcab

devans at macports.org devans at macports.org
Wed Mar 25 09:15:00 PDT 2015


Revision: 134430
          https://trac.macports.org/changeset/134430
Author:   devans at macports.org
Date:     2015-03-25 09:15:00 -0700 (Wed, 25 Mar 2015)
Log Message:
-----------
gcab: reconfigure using autogen.sh for intltool 0.51 compatibility.

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

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

Modified: trunk/dports/gnome/gcab/Portfile
===================================================================
--- trunk/dports/gnome/gcab/Portfile	2015-03-25 15:26:48 UTC (rev 134429)
+++ trunk/dports/gnome/gcab/Portfile	2015-03-25 16:15:00 UTC (rev 134430)
@@ -23,7 +23,10 @@
 
 depends_build       port:pkgconfig \
                     port:intltool \
-                    port:gtk-doc
+                    port:gtk-doc \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
 
 depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                     port:vala
@@ -33,11 +36,14 @@
 
 gobject_introspection yes
                
-# autoreconf to reconfigure with our intltool.m4
+# reconfigure using autogen.sh for intltool 0.51 compatibility
 
-use_autoreconf      yes
-autoreconf.args     -fvi
+post-patch {
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+}
 
+configure.cmd       ./autogen.sh
+
 configure.args      --disable-silent-rules
 
 livecheck.type      gnome-with-unstable

Added: trunk/dports/gnome/gcab/files/autogen.sh
===================================================================
--- trunk/dports/gnome/gcab/files/autogen.sh	                        (rev 0)
+++ trunk/dports/gnome/gcab/files/autogen.sh	2015-03-25 16:15:00 UTC (rev 134430)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e # exit on errors
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+mkdir -p "$srcdir/m4"
+
+gtkdocize
+autoreconf -v --force --install
+intltoolize -f
+
+if [ -z "$NOCONFIGURE" ]; then
+    "$srcdir"/configure "$@"
+fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150325/84ee6d33/attachment.html>


More information about the macports-changes mailing list