[117641] users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts

devans at macports.org devans at macports.org
Thu Mar 6 12:21:02 PST 2014


Revision: 117641
          https://trac.macports.org/changeset/117641
Author:   devans at macports.org
Date:     2014-03-06 12:21:02 -0800 (Thu, 06 Mar 2014)
Log Message:
-----------
GNOME-3/stable/dports: gnome-online-accounts, use upstream autogen.sh to reconfigure with our intltool.m4.

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

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

Modified: users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile	2014-03-06 18:59:03 UTC (rev 117640)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/Portfile	2014-03-06 20:21:02 UTC (rev 117641)
@@ -39,11 +39,14 @@
 
 patchfiles      patch-return-val-if-fail.diff
 
-# autoreconf with MacPorts intltool.m4
+# use upstream autogen.sh to update m4/intltool.m4 and telepathy-account-widgets/m4/intltool.m4 and reconfigure
 
-use_autoreconf  yes
-autoreconf.args -fvi
+post-patch {
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+}
 
+configure.cmd   ./autogen.sh
+
 configure.cflags-append -Wno-format-nonliteral
 configure.args  --enable-introspection=yes
 

Added: users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files/autogen.sh
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files/autogen.sh	                        (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-online-accounts/files/autogen.sh	2014-03-06 20:21:02 UTC (rev 117641)
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="goa"
+
+(test -f $srcdir/src/Makefile.am) || {
+    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
+}
+
+cd telepathy-account-widgets
+sh autogen.sh --no-configure
+cd ..
+
+. gnome-autogen.sh --enable-gtk-doc "$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140306/1c58a235/attachment.html>


More information about the macports-changes mailing list