diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 4 | ||||
-rw-r--r-- | www/mod_php82/Makefile | 12 | ||||
-rw-r--r-- | www/php82-opcache/Makefile | 9 | ||||
-rw-r--r-- | www/php82-opcache/files/patch-config.m4 | 20 | ||||
-rw-r--r-- | www/php82-session/Makefile | 7 | ||||
-rw-r--r-- | www/php82-tidy/Makefile | 7 |
6 files changed, 59 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index d177b443c0f0..15a11e6b263a 100644 --- a/www/Makefile +++ b/www/Makefile @@ -401,6 +401,7 @@ SUBDIR += mod_php74 SUBDIR += mod_php80 SUBDIR += mod_php81 + SUBDIR += mod_php82 SUBDIR += mod_proctitle SUBDIR += mod_qos SUBDIR += mod_realdoc @@ -1390,8 +1391,11 @@ SUBDIR += php80-session SUBDIR += php80-tidy SUBDIR += php81-opcache + SUBDIR += php82-opcache SUBDIR += php81-session + SUBDIR += php82-session SUBDIR += php81-tidy + SUBDIR += php82-tidy SUBDIR += phpbb SUBDIR += phpbb3 SUBDIR += phpgroupware diff --git a/www/mod_php82/Makefile b/www/mod_php82/Makefile new file mode 100644 index 000000000000..00d1ffb339c6 --- /dev/null +++ b/www/mod_php82/Makefile @@ -0,0 +1,12 @@ +CATEGORIES= www devel +PKGNAMEPREFIX= mod_ + +MAINTAINER= bofh@FreeBSD.org + +MASTERDIR= ${.CURDIR}/../../lang/php82 + +OPTIONS_DEFINE= AP2FILTER +AP2FILTER_DESC= Use Apache 2.x filter interface (experimental) +OPTIONS_EXCLUDE=CGI CLI FPM EMBED + +.include "${MASTERDIR}/Makefile" diff --git a/www/php82-opcache/Makefile b/www/php82-opcache/Makefile new file mode 100644 index 000000000000..93becb92922d --- /dev/null +++ b/www/php82-opcache/Makefile @@ -0,0 +1,9 @@ +CATEGORIES= www + +PKGNAMESUFFIX= -opcache + +USES= php:zend,noflavors + +MASTERDIR= ${.CURDIR}/../../lang/php82 + +.include "${MASTERDIR}/Makefile" diff --git a/www/php82-opcache/files/patch-config.m4 b/www/php82-opcache/files/patch-config.m4 new file mode 100644 index 000000000000..7bd2cb9083fd --- /dev/null +++ b/www/php82-opcache/files/patch-config.m4 @@ -0,0 +1,20 @@ +--- config.m4.orig 2021-12-15 02:00:45 UTC ++++ config.m4 +@@ -29,7 +29,7 @@ if test "$PHP_OPCACHE" != "no"; then + + if test "$PHP_OPCACHE_JIT" = "yes"; then + case $host_cpu in +- i[[34567]]86*|x86*|aarch64) ++ i[[34567]]86*|x86*|aarch64|amd64) + ;; + *) + AC_MSG_WARN([JIT not supported by host architecture]) +@@ -48,7 +48,7 @@ if test "$PHP_OPCACHE" != "no"; then + DASM_FLAGS="-D X64APPLE=1 -D X64=1" + DASM_ARCH="x86" + ;; +- x86_64*) ++ *x86_64*|amd64-*-freebsd*) + DASM_FLAGS="-D X64=1" + DASM_ARCH="x86" + ;; diff --git a/www/php82-session/Makefile b/www/php82-session/Makefile new file mode 100644 index 000000000000..7f6e5989bf12 --- /dev/null +++ b/www/php82-session/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= www + +MASTERDIR= ${.CURDIR}/../../lang/php82 + +PKGNAMESUFFIX= -session + +.include "${MASTERDIR}/Makefile" diff --git a/www/php82-tidy/Makefile b/www/php82-tidy/Makefile new file mode 100644 index 000000000000..3f907ae319b4 --- /dev/null +++ b/www/php82-tidy/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= www + +MASTERDIR= ${.CURDIR}/../../lang/php82 + +PKGNAMESUFFIX= -tidy + +.include "${MASTERDIR}/Makefile" |