[arch-commits] Commit in autoconf/repos (4 files)

Allan McRae allan at archlinux.org
Sat May 14 11:42:46 UTC 2016


    Date: Saturday, May 14, 2016 @ 13:42:45
  Author: allan
Revision: 267952

archrelease: copy trunk to testing-any

Added:
  autoconf/repos/testing-any/
  autoconf/repos/testing-any/PKGBUILD
    (from rev 267951, autoconf/trunk/PKGBUILD)
  autoconf/repos/testing-any/autoconf-2.69-libtool-compatibility.patch
    (from rev 267951, autoconf/trunk/autoconf-2.69-libtool-compatibility.patch)
  autoconf/repos/testing-any/autoconf-2.69-perl-5.22-autoscan.patch
    (from rev 267951, autoconf/trunk/autoconf-2.69-perl-5.22-autoscan.patch)

-------------------------------------------+
 PKGBUILD                                  |   56 ++++++++++++++++++++++++++++
 autoconf-2.69-libtool-compatibility.patch |   27 +++++++++++++
 autoconf-2.69-perl-5.22-autoscan.patch    |   28 ++++++++++++++
 3 files changed, 111 insertions(+)

Copied: autoconf/repos/testing-any/PKGBUILD (from rev 267951, autoconf/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2016-05-14 11:42:45 UTC (rev 267952)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=autoconf
+pkgver=2.69
+pkgrel=3
+pkgdesc="A GNU tool for automatically configuring source code"
+arch=('any')
+license=('GPL2' 'GPL3' 'custom')
+url="http://www.gnu.org/software/autoconf"
+groups=('base-devel')
+depends=('awk' 'm4' 'diffutils' 'bash')
+checkdepends=('gcc-fortran')
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}
+        autoconf-2.69-perl-5.22-autoscan.patch
+        autoconf-2.69-libtool-compatibility.patch)
+md5sums=('50f97f4159805e374639a73e2636f22e'
+         'SKIP'
+         'aa07afe5a671df25bf1878831702d5b9'
+         '87bceda7922ebc2a453568b2ae179e1b')
+validpgpkeys=('71C2CC22B1C4602927D2F3AAA7A16B4A2527436A')
+
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  # fix incompatibility with recent perl
+  patch -p1 -i $srcdir/autoconf-2.69-perl-5.22-autoscan.patch
+
+  # fix tesetsuite failures with recent libtool
+  patch -p1 -i $srcdir/autoconf-2.69-libtool-compatibility.patch
+}
+  
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # license exception
+  install -Dm644 COPYING.EXCEPTION \
+    $pkgdir/usr/share/licenses/autoconf/COPYING.EXCEPTION
+
+  # remove unwanted file
+  rm -f ${pkgdir}/usr/share/info/standards.info
+}

Copied: autoconf/repos/testing-any/autoconf-2.69-libtool-compatibility.patch (from rev 267951, autoconf/trunk/autoconf-2.69-libtool-compatibility.patch)
===================================================================
--- testing-any/autoconf-2.69-libtool-compatibility.patch	                        (rev 0)
+++ testing-any/autoconf-2.69-libtool-compatibility.patch	2016-05-14 11:42:45 UTC (rev 267952)
@@ -0,0 +1,27 @@
+From 247b02e5a5bb79ca6666e91de02ae2d3cb0cd325 Mon Sep 17 00:00:00 2001
+From: Gary V. Vaughan <gary at gnu.org>
+Date: Mon, 03 Nov 2014 06:25:03 +0000
+Subject: 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>
+---
+diff --git a/tests/foreign.at b/tests/foreign.at
+index a9dc33c..d4702cd 100644
+--- a/tests/foreign.at
++++ b/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...
+--
+cgit v0.9.0.2

Copied: autoconf/repos/testing-any/autoconf-2.69-perl-5.22-autoscan.patch (from rev 267951, autoconf/trunk/autoconf-2.69-perl-5.22-autoscan.patch)
===================================================================
--- testing-any/autoconf-2.69-perl-5.22-autoscan.patch	                        (rev 0)
+++ testing-any/autoconf-2.69-perl-5.22-autoscan.patch	2016-05-14 11:42:45 UTC (rev 267952)
@@ -0,0 +1,28 @@
+From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
+From: Paul Eggert <eggert at cs.ucla.edu>
+Date: Tue, 29 Jan 2013 13:46:48 -0800
+Subject: [PATCH] autoscan: port to perl 5.17
+
+* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
+feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
+<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
+---
+ bin/autoscan.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bin/autoscan.in b/bin/autoscan.in
+index 993a750..db1df79 100644
+--- a/bin/autoscan.in
++++ b/bin/autoscan.in
+@@ -358,7 +358,7 @@ sub scan_sh_file ($)
+     {
+       # Strip out comments and variable references.
+       s/#.*//;
+-      s/\${[^\}]*}//g;
++      s/\$\{[^\}]*}//g;
+       s/@[^@]*@//g;
+ 
+       # Tokens in the code.
+-- 
+2.1.0
+



More information about the arch-commits mailing list