summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile10
-rw-r--r--devel/php82-ffi/Makefile7
-rw-r--r--devel/php82-gettext/Makefile7
-rw-r--r--devel/php82-intl/Makefile7
-rw-r--r--devel/php82-pcntl/Makefile7
-rw-r--r--devel/php82-readline/Makefile7
-rw-r--r--devel/php82-readline/files/patch-config.m433
-rw-r--r--devel/php82-readline/files/patch-readline_cli.c13
-rw-r--r--devel/php82-shmop/Makefile7
-rw-r--r--devel/php82-sysvmsg/Makefile7
-rw-r--r--devel/php82-sysvsem/Makefile7
-rw-r--r--devel/php82-sysvshm/Makefile7
-rw-r--r--devel/php82-tokenizer/Makefile7
13 files changed, 126 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index c66502eae4cd..58f3488fdf8e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4061,15 +4061,25 @@
SUBDIR += php80-sysvshm
SUBDIR += php80-tokenizer
SUBDIR += php81-ffi
+ SUBDIR += php82-ffi
SUBDIR += php81-gettext
+ SUBDIR += php82-gettext
SUBDIR += php81-intl
+ SUBDIR += php82-intl
SUBDIR += php81-pcntl
+ SUBDIR += php82-pcntl
SUBDIR += php81-readline
+ SUBDIR += php82-readline
SUBDIR += php81-shmop
+ SUBDIR += php82-shmop
SUBDIR += php81-sysvmsg
+ SUBDIR += php82-sysvmsg
SUBDIR += php81-sysvsem
+ SUBDIR += php82-sysvsem
SUBDIR += php81-sysvshm
+ SUBDIR += php82-sysvshm
SUBDIR += php81-tokenizer
+ SUBDIR += php82-tokenizer
SUBDIR += phpunit6
SUBDIR += phpunit7
SUBDIR += phpunit8
diff --git a/devel/php82-ffi/Makefile b/devel/php82-ffi/Makefile
new file mode 100644
index 000000000000..4061c2f3c2ee
--- /dev/null
+++ b/devel/php82-ffi/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php82
+
+PKGNAMESUFFIX= -ffi
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php82-gettext/Makefile b/devel/php82-gettext/Makefile
new file mode 100644
index 000000000000..8484c9a9d82d
--- /dev/null
+++ b/devel/php82-gettext/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php82
+
+PKGNAMESUFFIX= -gettext
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php82-intl/Makefile b/devel/php82-intl/Makefile
new file mode 100644
index 000000000000..ed4b8c995619
--- /dev/null
+++ b/devel/php82-intl/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php82
+
+PKGNAMESUFFIX= -intl
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php82-pcntl/Makefile b/devel/php82-pcntl/Makefile
new file mode 100644
index 000000000000..ee87b00452e3
--- /dev/null
+++ b/devel/php82-pcntl/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php82
+
+PKGNAMESUFFIX= -pcntl
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php82-readline/Makefile b/devel/php82-readline/Makefile
new file mode 100644
index 000000000000..b7ed18c4a227
--- /dev/null
+++ b/devel/php82-readline/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php82
+
+PKGNAMESUFFIX= -readline
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php82-readline/files/patch-config.m4 b/devel/php82-readline/files/patch-config.m4
new file mode 100644
index 000000000000..93799734a3e3
--- /dev/null
+++ b/devel/php82-readline/files/patch-config.m4
@@ -0,0 +1,33 @@
+--- config.m4.orig 2019-08-06 06:54:14 UTC
++++ config.m4
+@@ -3,16 +3,10 @@ PHP_ARG_WITH([libedit],
+ [AS_HELP_STRING([--with-libedit],
+ [Include libedit readline replacement (CLI/CGI only)])])
+
+-if test "$PHP_LIBEDIT" = "no"; then
+ PHP_ARG_WITH([readline],
+ [for readline support],
+ [AS_HELP_STRING([[--with-readline[=DIR]]],
+ [Include readline support (CLI/CGI only)])])
+-else
+- dnl "register" the --with-readline option to prevent invalid "unknown
+- dnl configure option" warning
+- php_with_readline=no
+-fi
+
+ if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then
+ for i in $PHP_READLINE /usr/local /usr; do
+@@ -78,6 +72,13 @@ if test "$PHP_READLINE" && test "$PHP_RE
+ AC_DEFINE(HAVE_HISTORY_LIST, 1, [ ])
+ AC_DEFINE(HAVE_LIBREADLINE, 1, [ ])
+
++ PHP_CHECK_LIBRARY(readline, rl_completion_matches,
++ [
++ AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1, [ ])
++ ],[],[
++ -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
++ ])
++
+ elif test "$PHP_LIBEDIT" != "no"; then
+ if test "$PHP_LIBEDIT" != "yes"; then
+ AC_MSG_WARN([libedit directory ignored, rely on pkg-config])
diff --git a/devel/php82-readline/files/patch-readline_cli.c b/devel/php82-readline/files/patch-readline_cli.c
new file mode 100644
index 000000000000..02f55974f9b0
--- /dev/null
+++ b/devel/php82-readline/files/patch-readline_cli.c
@@ -0,0 +1,13 @@
+--- readline_cli.c.orig 2012-03-02 16:40:26.000000000 +0100
++++ readline_cli.c 2012-03-02 16:40:43.000000000 +0100
+@@ -19,6 +19,10 @@
+
+ /* $Id: readline_cli.c 321634 2012-01-01 13:15:04Z felipe $ */
+
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #include "php.h"
+
+ #ifndef HAVE_RL_COMPLETION_MATCHES
diff --git a/devel/php82-shmop/Makefile b/devel/php82-shmop/Makefile
new file mode 100644
index 000000000000..bb5ae767f2b0
--- /dev/null
+++ b/devel/php82-shmop/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php82
+
+PKGNAMESUFFIX= -shmop
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php82-sysvmsg/Makefile b/devel/php82-sysvmsg/Makefile
new file mode 100644
index 000000000000..6a9c3993c166
--- /dev/null
+++ b/devel/php82-sysvmsg/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php82
+
+PKGNAMESUFFIX= -sysvmsg
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php82-sysvsem/Makefile b/devel/php82-sysvsem/Makefile
new file mode 100644
index 000000000000..77b146d27a1f
--- /dev/null
+++ b/devel/php82-sysvsem/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php82
+
+PKGNAMESUFFIX= -sysvsem
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php82-sysvshm/Makefile b/devel/php82-sysvshm/Makefile
new file mode 100644
index 000000000000..b6d74bb67924
--- /dev/null
+++ b/devel/php82-sysvshm/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php82
+
+PKGNAMESUFFIX= -sysvshm
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php82-tokenizer/Makefile b/devel/php82-tokenizer/Makefile
new file mode 100644
index 000000000000..52af91c233ee
--- /dev/null
+++ b/devel/php82-tokenizer/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php82
+
+PKGNAMESUFFIX= -tokenizer
+
+.include "${MASTERDIR}/Makefile"