[135491] trunk/dports/x11/gtkspell3
devans at macports.org
devans at macports.org
Fri Apr 24 12:42:31 PDT 2015
Revision: 135491
https://trac.macports.org/changeset/135491
Author: devans at macports.org
Date: 2015-04-24 12:42:31 -0700 (Fri, 24 Apr 2015)
Log Message:
-----------
gtkspell3: reconfigure using upstream autogen.sh for intltool 0.51 compatibility.
Modified Paths:
--------------
trunk/dports/x11/gtkspell3/Portfile
Added Paths:
-----------
trunk/dports/x11/gtkspell3/files/
trunk/dports/x11/gtkspell3/files/patch-autogen.sh.diff
Modified: trunk/dports/x11/gtkspell3/Portfile
===================================================================
--- trunk/dports/x11/gtkspell3/Portfile 2015-04-24 19:42:28 UTC (rev 135490)
+++ trunk/dports/x11/gtkspell3/Portfile 2015-04-24 19:42:31 UTC (rev 135491)
@@ -22,7 +22,10 @@
depends_build port:pkgconfig \
port:intltool \
- port:gtk-doc
+ port:gtk-doc \
+ port:autoconf \
+ port:automake \
+ port:libtool
depends_lib port:gtk3 \
port:iso-codes \
@@ -31,15 +34,11 @@
gobject_introspection yes
-# update build/intltool.m4 and autoreconf
+# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
-pre-configure {
- copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/build
-}
+patchfiles patch-autogen.sh.diff
-use_autoreconf yes
-autoreconf.args -fvi
-
+configure.cmd ./autogen.sh
configure.args --disable-gtk2 \
--enable-gtk3 \
--enable-vala=yes \
Added: trunk/dports/x11/gtkspell3/files/patch-autogen.sh.diff
===================================================================
--- trunk/dports/x11/gtkspell3/files/patch-autogen.sh.diff (rev 0)
+++ trunk/dports/x11/gtkspell3/files/patch-autogen.sh.diff 2015-04-24 19:42:31 UTC (rev 135491)
@@ -0,0 +1,41 @@
+--- autogen.sh.orig 2014-04-19 06:50:06.000000000 -0700
++++ autogen.sh 2015-04-24 09:23:36.000000000 -0700
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+ # Run this to generate all the initial makefiles, etc.
+
+-srcdir="$(dirname "$(readlink -f $0)")"
++srcdir="$(dirname "$(readlink $0)")"
+
+ (test -f $srcdir/configure.ac) || {
+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+@@ -18,7 +18,7 @@
+ # exit 1
+ # }
+
+-(libtool --version) < /dev/null > /dev/null 2>&1 || {
++(glibtool --version) < /dev/null > /dev/null 2>&1 || {
+ echo "**Error**: You must have \`libtool' installed."
+ echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/"
+ echo
+@@ -33,13 +33,13 @@
+ exit 1
+ }
+
+-(stat "$(aclocal --print-ac-dir)/ax_cxx_compile_stdcxx_11.m4") < /dev/null > /dev/null 2>&1 || {
+- echo "**Error**: You must have the \`ax_cxx_compile_stdcxx_11.m4' macro installed-"
+- echo "Download the appropriate package for your distribution,"
+- echo "or get it from http://mirror.switch.ch/ftp/mirror/gnu/autoconf-archive/"
+- echo
+- exit 1
+-}
++#(stat "$(aclocal --print-ac-dir)/ax_cxx_compile_stdcxx_11.m4") < /dev/null > /dev/null 2>&1 || {
++# echo "**Error**: You must have the \`ax_cxx_compile_stdcxx_11.m4' macro installed-"
++# echo "Download the appropriate package for your distribution,"
++# echo "or get it from http://mirror.switch.ch/ftp/mirror/gnu/autoconf-archive/"
++# echo
++# exit 1
++#}
+
+
+ (
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150424/7a7ea00b/attachment.html>
More information about the macports-changes
mailing list