mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
removed core/m4
This commit is contained in:
parent
10ef57f347
commit
fafdf68b74
3 changed files with 0 additions and 74 deletions
|
@ -1,42 +0,0 @@
|
|||
# $Id: PKGBUILD 142067 2011-11-04 23:35:59Z allan $
|
||||
# Maintainer: Allan McRae <allan@archlinux.org>
|
||||
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - rebuild because goddamn upstream built theirs statically linked, didn't trigger rebuild
|
||||
# for libsigsegv.. STOP DOING THIS IF IT'S NOT IN THE PKGBUILD
|
||||
|
||||
plugrel=1
|
||||
|
||||
pkgname=m4
|
||||
pkgver=1.4.16
|
||||
pkgrel=2.1
|
||||
pkgdesc="The GNU macro processor"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.gnu.org/software/m4"
|
||||
license=('GPL3')
|
||||
groups=('base-devel')
|
||||
depends=('glibc' 'bash')
|
||||
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'
|
||||
'cea138fa9b568d06e46269611cec8dd0')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
patch -Np1 -i $srcdir/m4-1.4.16-readlink-einval.patch
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
make prefix=${pkgdir}/usr install
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
diff -up m4-1.4.16/tests/test-readlink.h.orig m4-1.4.16/tests/test-readlink.h
|
||||
--- m4-1.4.16/tests/test-readlink.h.orig 2011-09-19 12:44:58.745546826 +0200
|
||||
+++ m4-1.4.16/tests/test-readlink.h 2011-09-19 12:46:00.079548410 +0200
|
||||
@@ -38,7 +38,7 @@ test_readlink (ssize_t (*func) (char con
|
||||
ASSERT (errno == ENOENT);
|
||||
errno = 0;
|
||||
ASSERT (func ("", buf, sizeof buf) == -1);
|
||||
- ASSERT (errno == ENOENT);
|
||||
+ ASSERT (errno == ENOENT || errno == EINVAL);
|
||||
errno = 0;
|
||||
ASSERT (func (".", buf, sizeof buf) == -1);
|
||||
ASSERT (errno == EINVAL);
|
|
@ -1,20 +0,0 @@
|
|||
infodir=usr/share/info
|
||||
filelist=(m4.info m4.info-1 m4.info-2)
|
||||
|
||||
post_install() {
|
||||
[ -x usr/bin/install-info ] || return 0
|
||||
for file in ${filelist[@]}; do
|
||||
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
[ -x usr/bin/install-info ] || return 0
|
||||
for file in ${filelist[@]}; do
|
||||
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
|
||||
done
|
||||
}
|
Loading…
Reference in a new issue