diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-01-25 21:10:21 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-01-25 21:13:29 +0000 |
commit | 8ea662c5f71699443c369821319d211bd91f5901 (patch) | |
tree | 850e13001360a27bd99973ab246f85c1ba006f6b /lang/php80 | |
parent | 58310a68d2e7085a56113b5025317c86b7946222 (diff) | |
download | ports-8ea662c5f71699443c369821319d211bd91f5901.tar.gz ports-8ea662c5f71699443c369821319d211bd91f5901.zip |
Diffstat (limited to 'lang/php80')
-rw-r--r-- | lang/php80/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/lang/php80/Makefile b/lang/php80/Makefile index 85486b348290..3a0079fc8c43 100644 --- a/lang/php80/Makefile +++ b/lang/php80/Makefile @@ -88,19 +88,8 @@ ZTS_CONFIGURE_ENV= pthreads_working="yes" DESTDIRNAME= INSTALL_ROOT -.include <bsd.port.pre.mk> - -.if ${ARCH} == riscv64 -CONFIGURE_ARGS+=--without-pcre-jit -.endif - .if defined(PKGNAMEPREFIX) USES+= apache -.if ${PORT_OPTIONS:MAP2FILTER} -CONFIGURE_ARGS+=--with-apxs2filter=${APXS} -.else -CONFIGURE_ARGS+=--with-apxs2=${APXS} -.endif PLIST= ${PKGDIR}/pkg-plist.mod PKGMESSAGE= ${PKGDIR}/pkg-message.mod MODULENAME= libphp @@ -108,6 +97,12 @@ SHORTMODNAME= php WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" .endif +.include <bsd.port.pre.mk> + +.if ${ARCH} == riscv64 +CONFIGURE_ARGS+=--without-pcre-jit +.endif + .if ${PORT_OPTIONS:MPHPDBG} && ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-phpdbg-debug .endif |