From c23b07fd024be0c9ccc4e1c911cddad9c65251dc Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 5 Aug 2019 08:32:04 +0000 Subject: user/php7: fix PCRE searching --- user/php7/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/php7/APKBUILD b/user/php7/APKBUILD index fa89fcacf..a8ef4976e 100644 --- a/user/php7/APKBUILD +++ b/user/php7/APKBUILD @@ -285,7 +285,7 @@ prepare() { # * Doesn't work with system-provided onigurama, some tests fail (invalid code # point); probably because bundled onigurama is version 5.x, but we have 6.x. _build() { - EXTENSION_DIR=$_extension_dir ./configure \ + EXTENSION_DIR=$_extension_dir PCRE_INCDIR="/usr/include" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ @@ -306,7 +306,7 @@ _build() { --without-readline \ --enable-libxml \ --with-libxml-dir=/usr \ - --with-pcre-regex=/usr \ + --with-pcre-regex=/ \ --with-zlib \ --with-zlib-dir=/usr \ $_configure_ext_opts \ -- cgit v1.2.3-70-g09d2