diff options
Diffstat (limited to 'testing/llvm/APKBUILD')
-rw-r--r-- | testing/llvm/APKBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/testing/llvm/APKBUILD b/testing/llvm/APKBUILD index fb96a8c547..92f70b9231 100644 --- a/testing/llvm/APKBUILD +++ b/testing/llvm/APKBUILD @@ -1,10 +1,10 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=llvm -pkgver=2.8 +pkgver=2.9 pkgrel=0 pkgdesc="low level virtual machine compiler system" -arch="all" +arch="x86" url="http://llvm.org/" license="UOI-NCSA" depends= @@ -13,7 +13,7 @@ install= subpackages="$pkgname-dev $pkgname-doc" source="http://llvm.org/releases/$pkgver/llvm-$pkgver.tgz http://llvm.org/releases/$pkgver/clang-$pkgver.tgz - llvm-uclibc-errno-fsckery.patch" + " _builddir="$srcdir"/build @@ -44,6 +44,11 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info + + # configure gets it wrong. We do have error_t + sed -i -e 's/.*undef HAVE_ERROR_T.*/#define HAVE_ERROR_T 1/' \ + -e '/define error_t/d' \ + ./include/llvm/Config/config.h || return 1 make || return 1 } @@ -52,6 +57,5 @@ package() { make DESTDIR="$pkgdir" install } -md5sums="220d361b4d17051ff4bb21c64abe05ba llvm-2.8.tgz -10e14c901fc3728eecbd5b829e011b59 clang-2.8.tgz -089441aa2369c90a0fd0edaa311cb7d6 llvm-uclibc-errno-fsckery.patch" +md5sums="793138412d2af2c7c7f54615f8943771 llvm-2.9.tgz +634de18d04b7a4ded19ec4c17d23cfca clang-2.9.tgz" |