diff --git a/lang/php70/Makefile b/lang/php70/Makefile index 0c5f7337c047..1318ad71acb4 100644 --- a/lang/php70/Makefile +++ b/lang/php70/Makefile @@ -13,8 +13,6 @@ COMMENT= PHP Scripting Language LICENSE= PHP301 -LIB_DEPENDS= libpcre.so:devel/pcre - USES+= tar:xz cpe CPE_PRODUCT= php NO_OPTIONS_SORT=yes @@ -24,6 +22,8 @@ USE_AUTOTOOLS= autoconf #USES+= autoreconf gmake #GNU_CONFIGURE= yes +LIB_DEPENDS= libpcre.so:devel/pcre + CONFIGURE_ARGS+=--with-layout=GNU \ --localstatedir=/var \ --with-config-file-scan-dir=${PREFIX}/etc/php \ diff --git a/lang/php71/Makefile b/lang/php71/Makefile index 3912aaba6974..5cde382b5af6 100644 --- a/lang/php71/Makefile +++ b/lang/php71/Makefile @@ -13,8 +13,6 @@ COMMENT= PHP Scripting Language LICENSE= PHP301 -LIB_DEPENDS= libpcre.so:devel/pcre - USES+= tar:xz cpe CPE_PRODUCT= php NO_OPTIONS_SORT=yes @@ -25,6 +23,8 @@ USE_AUTOTOOLS= autoconf #USES+= autoreconf gmake #GNU_CONFIGURE= yes +LIB_DEPENDS= libpcre.so:devel/pcre + CONFIGURE_ARGS+=--with-layout=GNU \ --localstatedir=/var \ --with-config-file-scan-dir=${PREFIX}/etc/php \