diff options
Diffstat (limited to 'core/m4')
-rw-r--r-- | core/m4/PKGBUILD | 17 | ||||
-rw-r--r-- | core/m4/m4.install | 2 |
2 files changed, 14 insertions, 5 deletions
diff --git a/core/m4/PKGBUILD b/core/m4/PKGBUILD index de13524da..d0e2ffb5a 100644 --- a/core/m4/PKGBUILD +++ b/core/m4/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 142068 2011-11-04 23:36:00Z allan $ +# $Id: PKGBUILD 183048 2013-04-17 02:02:03Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: Andreas Radke <andyrtr@archlinux.org> pkgname=m4 pkgver=1.4.16 -pkgrel=2 +pkgrel=3 pkgdesc="The GNU macro processor" arch=('i686' 'x86_64') url="http://www.gnu.org/software/m4" @@ -15,12 +15,21 @@ install=m4.install source=(ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz{,.sig} m4-1.4.16-readlink-einval.patch) md5sums=('7548ec061a1ba993790159764f522d0e' - 'eebe5c94e74e7551e2e30c5844f1b653' + 'SKIP' 'cea138fa9b568d06e46269611cec8dd0') -build() { +prepare() { cd ${srcdir}/$pkgname-$pkgver + + # glibc-2.16 compatibility + sed -i -e '/gets is a/d' lib/stdio.in.h + + # patch testsuite failure with newer kernels patch -Np1 -i $srcdir/m4-1.4.16-readlink-einval.patch +} + +build() { + cd ${srcdir}/$pkgname-$pkgver ./configure --prefix=/usr make } diff --git a/core/m4/m4.install b/core/m4/m4.install index be4138170..523d39bd6 100644 --- a/core/m4/m4.install +++ b/core/m4/m4.install @@ -1,5 +1,5 @@ infodir=usr/share/info -filelist=(m4.info m4.info-1 m4.info-2) +filelist=('m4.info' 'm4.info-1' 'm4.info-2') post_install() { [ -x usr/bin/install-info ] || return 0 |