summaryrefslogtreecommitdiff
path: root/testing/bison
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-12-01 14:10:29 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-12-01 14:10:29 +0000
commitbc0657f7159d0b01373ecb59afc426b98a172b1e (patch)
tree7fba1eb77eb1a2965fe5f3ed72cc77aa63d14f40 /testing/bison
parentfd115d7057eb8243df6edfaf1ed440d6f3e70692 (diff)
Thu Dec 1 14:10:27 UTC 2011
Diffstat (limited to 'testing/bison')
-rw-r--r--testing/bison/PKGBUILD39
-rw-r--r--testing/bison/bison-2.5-undefined-reference.patch11
-rw-r--r--testing/bison/bison.install16
3 files changed, 0 insertions, 66 deletions
diff --git a/testing/bison/PKGBUILD b/testing/bison/PKGBUILD
deleted file mode 100644
index ea49664d9..000000000
--- a/testing/bison/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 143498 2011-11-25 03:24:12Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Contributor: Eric Belanger <eric@archlinux.org>
-
-pkgname=bison
-pkgver=2.5
-pkgrel=3
-pkgdesc="The GNU general-purpose parser generator"
-arch=('i686' 'x86_64')
-license=('GPL3')
-url="http://www.gnu.org/software/bison/bison.html"
-depends=('glibc' 'm4' 'sh')
-groups=('base-devel')
-install=bison.install
-source=(ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.bz2{,.sig}
- bison-2.5-undefined-reference.patch)
-md5sums=('9dba20116b13fc61a0846b0058fbe004'
- '610b73db67bd4760209458efe7554ca3'
- '2015c5421b2ad99032154f27bf5c4772')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- # workaround for FS#26794
- patch -Np1 -i $srcdir/bison-2.5-undefined-reference.patch
-
- ./configure --prefix=/usr --datadir=/usr/share
- make
-}
-
-check() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make check
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-}
diff --git a/testing/bison/bison-2.5-undefined-reference.patch b/testing/bison/bison-2.5-undefined-reference.patch
deleted file mode 100644
index ea390259e..000000000
--- a/testing/bison/bison-2.5-undefined-reference.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur bison-2.5-orig/lib/yyerror.c bison-2.5/lib/yyerror.c
---- bison-2.5-orig/lib/yyerror.c 2011-01-04 00:50:42.000000000 +1000
-+++ bison-2.5/lib/yyerror.c 2011-11-09 22:01:48.725507079 +1000
-@@ -18,6 +18,7 @@
- along with this program. If not, see <http://www.gnu.org/licenses/>. */
-
- #include <stdio.h>
-+#undef fprintf
-
- int yyerror (char const *);
-
diff --git a/testing/bison/bison.install b/testing/bison/bison.install
deleted file mode 100644
index 0081a194f..000000000
--- a/testing/bison/bison.install
+++ /dev/null
@@ -1,16 +0,0 @@
-infodir=usr/share/info
-file=bison.info.gz
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- install-info $infodir/$file $infodir/dir 2> /dev/null
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
-}