[135566] trunk/dports/gnome/genius
devans at macports.org
devans at macports.org
Sun Apr 26 07:36:17 PDT 2015
Revision: 135566
https://trac.macports.org/changeset/135566
Author: devans at macports.org
Date: 2015-04-26 07:36:17 -0700 (Sun, 26 Apr 2015)
Log Message:
-----------
genius: reconfigure using upstream autogen.sh for intltool 0.51 compatibility.
Modified Paths:
--------------
trunk/dports/gnome/genius/Portfile
Added Paths:
-----------
trunk/dports/gnome/genius/files/
trunk/dports/gnome/genius/files/autogen.sh
Modified: trunk/dports/gnome/genius/Portfile
===================================================================
--- trunk/dports/gnome/genius/Portfile 2015-04-26 14:34:52 UTC (rev 135565)
+++ trunk/dports/gnome/genius/Portfile 2015-04-26 14:36:17 UTC (rev 135566)
@@ -27,9 +27,12 @@
sha256 050767e9f5e588ba071107eccf1149cd016510d8df61c962d441e2ba8ec488dd
depends_build port:pkgconfig \
+ port:intltool \
port:gnome-common \
- port:intltool \
- port:gnome-doc-utils
+ port:gnome-doc-utils \
+ port:autoconf \
+ port:automake \
+ port:libtool
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:mpfr \
@@ -40,11 +43,14 @@
port:rarian \
port:shared-mime-info
-# autoreconf to reconfigure with our intltool.m4
+# reconfigure using upstream 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
+
# disable extra gcc optimization for clang compatibility
configure.args --disable-extra-gcc-optimization \
Added: trunk/dports/gnome/genius/files/autogen.sh
===================================================================
--- trunk/dports/gnome/genius/files/autogen.sh (rev 0)
+++ trunk/dports/gnome/genius/files/autogen.sh 2015-04-26 14:36:17 UTC (rev 135566)
@@ -0,0 +1,25 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+REQUIRED_AUTOMAKE_VERSION=1.9
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="Genius"
+
+(test -f $srcdir/configure.in \
+ && test -d $srcdir/src \
+ && test -f $srcdir/src/calc.h) || {
+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+ echo " top-level Genius directory"
+ exit 1
+}
+
+which gnome-autogen.sh || {
+ echo "Missing gnome-autogen.sh"
+ echo "You need to install gnome-common from the GNOME git,"
+ echo "or possibly the \"gnome-common\" distribution package"
+ exit 1
+}
+USE_GNOME2_MACROS=1 . gnome-autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150426/d952bc12/attachment-0001.html>
More information about the macports-changes
mailing list