[134441] trunk/dports/gnome/libwnck3

devans at macports.org devans at macports.org
Wed Mar 25 11:09:12 PDT 2015


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

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

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

Modified: trunk/dports/gnome/libwnck3/Portfile
===================================================================
--- trunk/dports/gnome/libwnck3/Portfile	2015-03-25 17:59:01 UTC (rev 134440)
+++ trunk/dports/gnome/libwnck3/Portfile	2015-03-25 18:09:12 UTC (rev 134441)
@@ -31,7 +31,11 @@
 
 depends_build       port:pkgconfig \
                     port:intltool \
-                    port:gnome-common
+                    port:gtk-doc \
+                    port:gnome-common \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
 
 depends_lib         port:startup-notification \
                     port:gtk3 \
@@ -41,14 +45,13 @@
 require_active_variants gtk3 x11
 gobject_introspection yes
 
-# update m4/intltool.m4 and autoreconf
+# reconfigure using 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      --x-includes=${prefix}/include \
                     --x-libraries=${prefix}/lib \

Added: trunk/dports/gnome/libwnck3/files/autogen.sh
===================================================================
--- trunk/dports/gnome/libwnck3/files/autogen.sh	                        (rev 0)
+++ trunk/dports/gnome/libwnck3/files/autogen.sh	2015-03-25 18:09:12 UTC (rev 134441)
@@ -0,0 +1,23 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="libwnck"
+REQUIRED_AUTOMAKE_VERSION=1.9
+REQUIRED_M4MACROS=introspection.m4
+
+#(test -f $srcdir/configure.ac \
+#  && test -f $srcdir/$PKG_NAME.doap) || {
+#    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+#    echo " top-level $PKG_NAME directory"
+#    exit 1
+#}
+
+which gnome-autogen.sh || {
+    echo "You need to install gnome-common."
+    exit 1
+}
+
+. gnome-autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150325/77595293/attachment.html>


More information about the macports-changes mailing list