summaryrefslogtreecommitdiff
path: root/extra/gc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gc/PKGBUILD')
-rw-r--r--extra/gc/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/extra/gc/PKGBUILD b/extra/gc/PKGBUILD
index 16f608ea1..f54416b69 100644
--- a/extra/gc/PKGBUILD
+++ b/extra/gc/PKGBUILD
@@ -2,19 +2,21 @@
# Maintainer: Daniel Isenmann <daniel [at] archlinux.org>
# Contributor: dorphell <dorphell@gmx.net>
pkgname=gc
-pkgver=7.1
-pkgrel=3
+pkgver=7.2alpha6
+pkgrel=1
pkgdesc="A garbage collector for C and C++"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
license=('GPL')
source=(http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/${pkgname}-${pkgver}.tar.gz)
depends=('gcc-libs')
options=(!libtool)
-md5sums=('2ff9924c7249ef7f736ecfe6f08f3f9b')
+md5sums=('319d0b18cc4eb735c8038ece9df055e4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ # Installing a single file twice fails.
+ sed -ri 's/(am__append_6 =) .*$/\1/' Makefile.in
./configure --prefix=/usr --enable-cplusplus
make
make DESTDIR="${pkgdir}" install