[arch-commits] Commit in ponyc/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue Apr 18 14:50:32 UTC 2017
Date: Tuesday, April 18, 2017 @ 14:50:32
Author: foutrelis
Revision: 223737
upgpkg: ponyc 0.13.0-2
Link statically to LLVM 3.9.1 to unblock the move of LLVM 4.0.
Hopefully this kludge will be short-lived and upstream will support
LLVM 4.0 in the near future.
Modified:
ponyc/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-18 13:59:24 UTC (rev 223736)
+++ PKGBUILD 2017-04-18 14:50:32 UTC (rev 223737)
@@ -3,13 +3,13 @@
pkgname=ponyc
pkgver=0.13.0
-pkgrel=1
+pkgrel=2
pkgdesc='An actor model, capabilities, high performance programming language'
url='http://ponylang.org/'
arch=('x86_64')
license=('BSD')
-depends=('llvm-libs')
-makedepends=('llvm' 'git')
+# llvm=3.9.1 will need to be manually installed to the chroot once LLVM 4.0 has moved to [extra]
+makedepends=('llvm=3.9.1' 'git')
checkdepends=('pcre2')
options=('!strip')
optdepends=('pcre2: Needed for the regex package.')
@@ -16,6 +16,12 @@
source=("$pkgname-$pkgver.tar.gz::https://github.com/ponylang/ponyc/archive/$pkgver.tar.gz")
sha512sums=('ae1a5d3c8058d74deffee31a2f8f529db8315b860977c76af4fcf2be504df6c9c7a0e186d9c60df1d6f9f663cc6361abecbae2a896482ebd4427b4228d885fee')
+prepare() {
+ cd ponyc-$pkgver
+ # https://github.com/ponylang/ponyc/issues/1592
+ sed -i 's/$(LLVM_CONFIG) --libs/& --link-static/' Makefile
+}
+
build() {
cd ponyc-$pkgver
make config=release prefix=/usr arch=x86-64 verbose=
More information about the arch-commits
mailing list