[134690] users/devans/GNOME-3/stable/dports/gnome/ghex
devans at macports.org
devans at macports.org
Fri Apr 3 06:10:29 PDT 2015
Revision: 134690
https://trac.macports.org/changeset/134690
Author: devans at macports.org
Date: 2015-04-03 06:10:29 -0700 (Fri, 03 Apr 2015)
Log Message:
-----------
GNOME-3/stable: ghex, reconfigure using autogen.sh for intltool 0.51 compatibility.
Modified Paths:
--------------
users/devans/GNOME-3/stable/dports/gnome/ghex/Portfile
Added Paths:
-----------
users/devans/GNOME-3/stable/dports/gnome/ghex/files/
users/devans/GNOME-3/stable/dports/gnome/ghex/files/autogen.sh
Modified: users/devans/GNOME-3/stable/dports/gnome/ghex/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/ghex/Portfile 2015-04-03 13:09:20 UTC (rev 134689)
+++ users/devans/GNOME-3/stable/dports/gnome/ghex/Portfile 2015-04-03 13:10:29 UTC (rev 134690)
@@ -27,7 +27,10 @@
port:intltool \
port:itstool \
port:yelp-tools \
- port:gnome-common
+ port:gnome-common \
+ port:autoconf \
+ port:automake \
+ port:libtool
depends_lib port:desktop-file-utils \
port:atk \
@@ -36,14 +39,14 @@
depends_run port:yelp \
port:gnome-settings-daemon
-# update m4/intltool.m4 and autoreconf
-pre-configure {
- copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
+# reconfigure using autogen.sh for intltool 0.51 compatibility
+
+post-patch {
+ xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
}
-use_autoreconf yes
-autoreconf.args -fvi
+configure.cmd ./autogen.sh
configure.cflags-append \
-Wno-format-nonliteral
Added: users/devans/GNOME-3/stable/dports/gnome/ghex/files/autogen.sh
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/ghex/files/autogen.sh (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/ghex/files/autogen.sh 2015-04-03 13:10:29 UTC (rev 134690)
@@ -0,0 +1,25 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+# Modified according to the new way of calling autogen.sh -- SnM
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="GHex"
+
+(test -f $srcdir/configure.ac \
+ && test -f $srcdir/src/ghex-window.h) || {
+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+ echo " top-level $PKG_NAME directory"
+ exit 1
+}
+
+# Check for gnome-autogen.sh existence
+which gnome-autogen.sh || {
+ echo "You need to install gnome-common from GNOME Git (or from"
+ echo "your OS vendor'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/59eb81ca/attachment.html>
More information about the macports-changes
mailing list