[137298] trunk/dports/devel/autoconf

larryv at macports.org larryv at macports.org
Mon Jun 8 11:06:07 PDT 2015


Revision: 137298
          https://trac.macports.org/changeset/137298
Author:   larryv at macports.org
Date:     2015-06-08 11:06:07 -0700 (Mon, 08 Jun 2015)
Log Message:
-----------
autoconf: Fix the Libtool test

Modified Paths:
--------------
    trunk/dports/devel/autoconf/Portfile

Added Paths:
-----------
    trunk/dports/devel/autoconf/files/0001-tests-avoid-spurious-test-failure-with-libtool-2.4.3.patch

Modified: trunk/dports/devel/autoconf/Portfile
===================================================================
--- trunk/dports/devel/autoconf/Portfile	2015-06-08 18:06:04 UTC (rev 137297)
+++ trunk/dports/devel/autoconf/Portfile	2015-06-08 18:06:07 UTC (rev 137298)
@@ -41,6 +41,10 @@
     touch ${worksrcpath}/man/autoreconf.1
 }
 
+# Backport a testsuite fix from upstream.
+patchfiles-append \
+        0001-tests-avoid-spurious-test-failure-with-libtool-2.4.3.patch
+
 # It should be safe to use the system Perl, since the scripts only use
 # core modules. The README prescribes 5.6 or later, and Tiger has 5.8.6.
 configure.perl      /usr/bin/perl

Added: trunk/dports/devel/autoconf/files/0001-tests-avoid-spurious-test-failure-with-libtool-2.4.3.patch
===================================================================
--- trunk/dports/devel/autoconf/files/0001-tests-avoid-spurious-test-failure-with-libtool-2.4.3.patch	                        (rev 0)
+++ trunk/dports/devel/autoconf/files/0001-tests-avoid-spurious-test-failure-with-libtool-2.4.3.patch	2015-06-08 18:06:07 UTC (rev 137298)
@@ -0,0 +1,31 @@
+From 247b02e5a5bb79ca6666e91de02ae2d3cb0cd325 Mon Sep 17 00:00:00 2001
+From: "Gary V. Vaughan" <gary at gnu.org>
+Date: Mon, 3 Nov 2014 07:25:03 +0100
+Subject: [PATCH] tests: avoid spurious test failure with libtool 2.4.3
+
+Based on a report by Bruce Dubbs.
+
+* tests/foreign.at (Libtool): Be tolerant of 'quote' replacing the
+older `quote'.
+
+Signed-off-by: Eric Blake <eblake at redhat.com>
+---
+ tests/foreign.at | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git tests/foreign.at tests/foreign.at
+index a9dc33c..d4702cd 100644
+--- tests/foreign.at
++++ tests/foreign.at
+@@ -57,7 +57,7 @@ AT_CHECK([./config.guess || exit 77], [], [ignore], [ignore])
+ # Make sure at-path contains something valid, and let the test suite
+ # display it when verbose.  And fail, skipping would too easily hide
+ # problems.
+-AT_CHECK([sed -n ["s,^.*\`\\(/[^']*\\)'.*,\\1,p"] stdout], [0], [stdout])
++AT_CHECK([sed -n ["s,^[^']*[\`']\\(/[^']*\\)'.*,\\1,p"] stdout], [0], [stdout])
+ AT_CHECK([test -f "`sed -n 1p stdout`"])
+ 
+ # Older libtoolize installed everything but install-sh...
+-- 
+2.4.2
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150608/9234a629/attachment.html>


More information about the macports-changes mailing list