[135490] trunk/dports/net/gupnp-tools
devans at macports.org
devans at macports.org
Fri Apr 24 12:42:29 PDT 2015
Revision: 135490
https://trac.macports.org/changeset/135490
Author: devans at macports.org
Date: 2015-04-24 12:42:28 -0700 (Fri, 24 Apr 2015)
Log Message:
-----------
gupnp-tools: reconfigure using upstream autogen.sh for intltool 0.51 compatibility.
Modified Paths:
--------------
trunk/dports/net/gupnp-tools/Portfile
Added Paths:
-----------
trunk/dports/net/gupnp-tools/files/
trunk/dports/net/gupnp-tools/files/autogen.sh
Modified: trunk/dports/net/gupnp-tools/Portfile
===================================================================
--- trunk/dports/net/gupnp-tools/Portfile 2015-04-24 19:42:27 UTC (rev 135489)
+++ trunk/dports/net/gupnp-tools/Portfile 2015-04-24 19:42:28 UTC (rev 135490)
@@ -26,7 +26,10 @@
sha256 c0c3c7a6eacfeb83aa6c5acd5e2f48e1c12da6fb45cac14a972961d7918e8072
depends_build port:pkgconfig \
- port:intltool
+ port:intltool \
+ port:autoconf \
+ port:automake \
+ port:libtool
depends_lib port:desktop-file-utils \
port:gtk3 \
@@ -47,15 +50,13 @@
compiler.blacklist *gcc* {clang < 300}
-# update m4/intltool.m4 and autoreconf
+# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
post-patch {
- copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
+ xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
}
-use_autoreconf yes
-autoreconf.args -fvi
-
+configure.cmd ./autogen.sh
configure.args --disable-silent-rules
post-activate {
Added: trunk/dports/net/gupnp-tools/files/autogen.sh
===================================================================
--- trunk/dports/net/gupnp-tools/files/autogen.sh (rev 0)
+++ trunk/dports/net/gupnp-tools/files/autogen.sh 2015-04-24 19:42:28 UTC (rev 135490)
@@ -0,0 +1,24 @@
+#! /bin/sh
+
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
+
+olddir=`pwd`
+cd "$srcdir"
+
+AUTORECONF=`which autoreconf`
+if test -z $AUTORECONF; then
+ echo "*** No autoreconf found, please install it ***"
+ exit 1
+fi
+INTLTOOLIZE=`which intltoolize`
+if test -z $INTLTOOLIZE; then
+ echo "*** No intltoolize found, please install the intltool package ***"
+ exit 1
+fi
+
+intltoolize --force --copy --automake || exit $?
+autoreconf --force --install --verbose || exit $?
+
+cd "$olddir"
+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150424/11f610d6/attachment.html>
More information about the macports-changes
mailing list