[134693] users/devans/GNOME-3/stable/dports/gnome/metacity

devans at macports.org devans at macports.org
Fri Apr 3 06:13:39 PDT 2015


Revision: 134693
          https://trac.macports.org/changeset/134693
Author:   devans at macports.org
Date:     2015-04-03 06:13:39 -0700 (Fri, 03 Apr 2015)
Log Message:
-----------
GNOME-3/stable: metacity, reconfigure using autogen.sh for intltool 0.51 compatibility.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/metacity/Portfile

Added Paths:
-----------
    users/devans/GNOME-3/stable/dports/gnome/metacity/files/
    users/devans/GNOME-3/stable/dports/gnome/metacity/files/autogen.sh

Modified: users/devans/GNOME-3/stable/dports/gnome/metacity/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/metacity/Portfile	2015-04-03 13:12:24 UTC (rev 134692)
+++ users/devans/GNOME-3/stable/dports/gnome/metacity/Portfile	2015-04-03 13:13:39 UTC (rev 134693)
@@ -22,10 +22,12 @@
 
 depends_build       port:pkgconfig \
                     port:intltool \
+                    port:itstool \
                     port:gnome-common \
-                    port:itstool
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
 
-
 depends_lib         port:desktop-file-utils \
                     port:gtk3 \
                     port:startup-notification \
@@ -47,11 +49,14 @@
 
 depends_run         port:gnome-settings-daemon
 
-# 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      --x-includes=${prefix}/include \
                     --x-libraries=${prefix}/lib \
                     --enable-debug \

Added: users/devans/GNOME-3/stable/dports/gnome/metacity/files/autogen.sh
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/metacity/files/autogen.sh	                        (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/metacity/files/autogen.sh	2015-04-03 13:13:39 UTC (rev 134693)
@@ -0,0 +1,22 @@
+#!/bin/bash
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+REQUIRED_AUTOMAKE_VERSION=1.10
+
+(test -f $srcdir/configure.ac \
+  && test -d $srcdir/src) || {
+    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+    echo " top-level metacity directory"
+    exit 1
+}
+
+which gnome-autogen.sh || {
+    echo "You need to install gnome-common from GNOME Subversion (or from"
+    echo "your distribution's package manager)."
+    exit 1
+}
+
+. gnome-autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150403/a9eb41e6/attachment.html>


More information about the macports-changes mailing list