[134302] trunk/dports/gnome/gconf
devans at macports.org
devans at macports.org
Sat Mar 21 14:52:10 PDT 2015
Revision: 134302
https://trac.macports.org/changeset/134302
Author: devans at macports.org
Date: 2015-03-21 14:52:09 -0700 (Sat, 21 Mar 2015)
Log Message:
-----------
gconf: reconfigure using autogen.sh for intltool 0.51 compatibility.
Modified Paths:
--------------
trunk/dports/gnome/gconf/Portfile
Added Paths:
-----------
trunk/dports/gnome/gconf/files/
trunk/dports/gnome/gconf/files/autogen.sh
Modified: trunk/dports/gnome/gconf/Portfile
===================================================================
--- trunk/dports/gnome/gconf/Portfile 2015-03-21 20:47:59 UTC (rev 134301)
+++ trunk/dports/gnome/gconf/Portfile 2015-03-21 21:52:09 UTC (rev 134302)
@@ -34,7 +34,11 @@
depends_build port:pkgconfig \
port:gtk-doc \
- port:intltool
+ port:intltool \
+ port:gnome-common \
+ port:autoconf \
+ port:automake \
+ port:libtool
depends_lib port:gtk3 \
port:libxml2 \
@@ -48,11 +52,14 @@
--without-openldap \
--enable-gsettings-backend
-# use 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
+
destroot.keepdirs \
${destroot}${prefix}/etc/gconf/gconf.xml.mandatory \
${destroot}${prefix}/etc/gconf/gconf.xml.defaults
Added: trunk/dports/gnome/gconf/files/autogen.sh
===================================================================
--- trunk/dports/gnome/gconf/files/autogen.sh (rev 0)
+++ trunk/dports/gnome/gconf/files/autogen.sh 2015-03-21 21:52:09 UTC (rev 134302)
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+REQUIRED_AUTOMAKE_VERSION=1.9
+REQUIRED_M4MACROS=introspection.m4
+
+PKG_NAME="GConf"
+
+(test -f $srcdir/gconf/gconf.h) || {
+ 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 from GNOME SVN and make"
+ echo "sure the gnome-autogen.sh script is in your \$PATH."
+ exit 1
+}
+
+REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150321/f3967dea/attachment.html>
More information about the macports-changes
mailing list