[136325] trunk/dports/devel/autoconf/files/use-macports-tools.patch

larryv at macports.org larryv at macports.org
Thu May 14 18:10:43 PDT 2015


Revision: 136325
          https://trac.macports.org/changeset/136325
Author:   larryv at macports.org
Date:     2015-05-14 18:10:43 -0700 (Thu, 14 May 2015)
Log Message:
-----------
autoconf: Test against our GNU Libtool

Autoconf's test assumes "libtool" is GNU Libtool, but on MacPorts
systems, it should look for "glibtool". ("libtool" is from Apple's
cctools.)

Modified Paths:
--------------
    trunk/dports/devel/autoconf/files/use-macports-tools.patch

Modified: trunk/dports/devel/autoconf/files/use-macports-tools.patch
===================================================================
--- trunk/dports/devel/autoconf/files/use-macports-tools.patch	2015-05-15 01:10:38 UTC (rev 136324)
+++ trunk/dports/devel/autoconf/files/use-macports-tools.patch	2015-05-15 01:10:43 UTC (rev 136325)
@@ -39,3 +39,31 @@
  .PP
  The full documentation for
  .B autoreconf
+Index: tests/foreign.at
+===================================================================
+--- tests/foreign.at.orig
++++ tests/foreign.at
+@@ -25,12 +25,12 @@ AT_BANNER([Compatibility with other tool
+ AT_SETUP([Libtool])
+ 
+ # Skip this test if there is no libtoolize.
+-AT_CHECK([libtoolize --version || exit 77],
++AT_CHECK([glibtoolize --version || exit 77],
+ 	 [ignore], [ignore], [ignore])
+ # Modern Libtool has further tests for compatibility with older autoconf;
+ # from the Autoconf side, we will merely assume newer libtool.
+ AT_CHECK([[
+-case `libtoolize --version |
++case `glibtoolize --version |
+       sed -n '/^.* \([0-9][0-9.a-z]*\)$/{
+ 		s//\1/
+ 		p
+@@ -49,7 +49,7 @@ AT_DATA([configure.ac],
+ AC_CONFIG_AUX_DIR([.])
+ AC_PROG_LIBTOOL
+ ]])
+-AT_CHECK([libtoolize -i], [0], [stdout], [ignore])
++AT_CHECK([glibtoolize -i], [0], [stdout], [ignore])
+ 
+ # Some broken libtoolize fail to install a functional config.guess.
+ AT_CHECK([./config.guess || exit 77], [], [ignore], [ignore])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150514/81f55c68/attachment-0001.html>


More information about the macports-changes mailing list