aboutsummaryrefslogtreecommitdiffstats
path: root/main/pcre
diff options
context:
space:
mode:
authorTuan M. Hoang <tmhoang@flatglobe.org>2017-02-22 17:07:14 -0500
committerTimo Teräs <timo.teras@iki.fi>2017-02-23 06:24:05 +0000
commite60549f23a60fec682c7b41690a97bb5335decc7 (patch)
tree4df659fcba914e79f9bec4997171f93d5fe92ec0 /main/pcre
parent261d24db86618663c3de0f424235aaca5fa920ac (diff)
downloadaports-e60549f23a60fec682c7b41690a97bb5335decc7.tar.bz2
aports-e60549f23a60fec682c7b41690a97bb5335decc7.tar.xz
main/pcre: s390x does not support jit yet
Diffstat (limited to 'main/pcre')
-rw-r--r--main/pcre/APKBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/main/pcre/APKBUILD b/main/pcre/APKBUILD
index f68e9e9147..7ed2e43f07 100644
--- a/main/pcre/APKBUILD
+++ b/main/pcre/APKBUILD
@@ -15,11 +15,12 @@ builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
+ [ "$CARCH" = "s390x" ] && _enable_jit="" || _enable_jit="--enable-jit"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --enable-jit \
+ $_enable_jit \
--enable-utf8 \
--enable-unicode-properties \
--enable-pcre8 \
@@ -62,6 +63,4 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-md5sums="41a842bf7dcecd6634219336e2167d1d pcre-8.40.tar.bz2"
-sha256sums="00e27a29ead4267e3de8111fcaa59b132d0533cdfdbdddf4b0604279acbcf4f4 pcre-8.40.tar.bz2"
sha512sums="b4c27eafbdf33bd7a1384655b1936f4be3bc6745c072347eb26e988896c52664bd85ac42444da1be78b6e20f45b6c7e5921f5f20f5b0741b5bd3d9844e5bd4e2 pcre-8.40.tar.bz2"