aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-pecl-oauth/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-06-14 11:57:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-14 12:00:37 +0000
commit4a6b944d7f41bda3c7ae8225472895eea4b26f3f (patch)
tree61f249c768aa2ddadcdbd1c4c51f071836db6d2b /community/php7-pecl-oauth/APKBUILD
parent03efe17c7cc87c36c387c49a4a7a9383f8c3a987 (diff)
downloadaports-4a6b944d7f41bda3c7ae8225472895eea4b26f3f.tar.bz2
aports-4a6b944d7f41bda3c7ae8225472895eea4b26f3f.tar.xz
community/php7-pecl-oauth: fix build
remove the configure test for pcre.h. php 7.3 uses pcre2.h and there is nothing in php oauth that uses pcre.h directly, it only relies on "ext/pcre/php_pcre.h" simply remove the check to fix build.
Diffstat (limited to 'community/php7-pecl-oauth/APKBUILD')
-rw-r--r--community/php7-pecl-oauth/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/community/php7-pecl-oauth/APKBUILD b/community/php7-pecl-oauth/APKBUILD
index 97b1e66553..e4a958a756 100644
--- a/community/php7-pecl-oauth/APKBUILD
+++ b/community/php7-pecl-oauth/APKBUILD
@@ -10,7 +10,8 @@ arch="all"
license="PHP"
depends="php7-common"
makedepends="php7-dev autoconf re2c pcre2-dev curl-dev"
-source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
+source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz
+ pcre.patch"
builddir="$srcdir"/$_pkgreal-$pkgver
provides="php7-oauth=$pkgver-r$pkgrel" # for backward compatibility
replaces="php7-oauth" # for backward compatibility
@@ -34,4 +35,5 @@ package() {
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/60_$_pkgreal.ini
}
-sha512sums="3e0ce5ce01533bfd304c0c34465cc184fbd0af1a25f5192860e6394c86dc948688cc8d4b419b48676481cef3a685ba70ac612a8c516da26d0dfe9efdef7e98d9 oauth-2.0.3.tgz"
+sha512sums="3e0ce5ce01533bfd304c0c34465cc184fbd0af1a25f5192860e6394c86dc948688cc8d4b419b48676481cef3a685ba70ac612a8c516da26d0dfe9efdef7e98d9 oauth-2.0.3.tgz
+68d636032d2f3cb2822ea3121a80256b87a04cc5998c4775174366c6a3392dfe3abc00c84cc50aca5745a32ddd2246af129fe5aa17cc415652c52214a84feef9 pcre.patch"