[134276] trunk/dports/gnome/accountsservice
devans at macports.org
devans at macports.org
Fri Mar 20 15:48:25 PDT 2015
Revision: 134276
https://trac.macports.org/changeset/134276
Author: devans at macports.org
Date: 2015-03-20 15:48:25 -0700 (Fri, 20 Mar 2015)
Log Message:
-----------
accountsservice: reconfigure using autogen.sh for intltool 0.51 compatibility.
Modified Paths:
--------------
trunk/dports/gnome/accountsservice/Portfile
Added Paths:
-----------
trunk/dports/gnome/accountsservice/files/autogen.sh
Modified: trunk/dports/gnome/accountsservice/Portfile
===================================================================
--- trunk/dports/gnome/accountsservice/Portfile 2015-03-20 21:55:15 UTC (rev 134275)
+++ trunk/dports/gnome/accountsservice/Portfile 2015-03-20 22:48:25 UTC (rev 134276)
@@ -26,7 +26,10 @@
port:intltool \
port:xmlto \
port:libxslt \
- port:gtk-doc
+ port:gtk-doc \
+ port:autoconf \
+ port:automake \
+ port:libtool
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:policykit
@@ -41,11 +44,14 @@
gobject_introspection yes
-# autoreconf 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-systemd \
--disable-silent-rules
Added: trunk/dports/gnome/accountsservice/files/autogen.sh
===================================================================
--- trunk/dports/gnome/accountsservice/files/autogen.sh (rev 0)
+++ trunk/dports/gnome/accountsservice/files/autogen.sh 2015-03-20 22:48:25 UTC (rev 134276)
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+GTKDOCIZE=$(which gtkdocize 2>/dev/null)
+if test -z $GTKDOCIZE; then
+ echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation."
+ rm -f gtk-doc.make
+ cat > gtk-doc.make <<EOF
+EXTRA_DIST =
+CLEANFILES =
+EOF
+else
+ (cd $(dirname $0) && gtkdocize) || exit $?
+fi
+
+ACLOCAL="aclocal $ACLOCAL_FLAGS"
+export ACLOCAL
+
+(cd $(dirname $0);
+ autoreconf --install --force --symlink --verbose &&
+ intltoolize --force &&
+ autoreconf --force --verbose)
+
+test -n "$NOCONFIGURE" || "$(dirname $0)/configure" "$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150320/4d806b1b/attachment.html>
More information about the macports-changes
mailing list