summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile10
-rw-r--r--devel/php81-ffi/Makefile7
-rw-r--r--devel/php81-gettext/Makefile7
-rw-r--r--devel/php81-intl/Makefile7
-rw-r--r--devel/php81-pcntl/Makefile7
-rw-r--r--devel/php81-readline/Makefile7
-rw-r--r--devel/php81-readline/files/patch-config.m433
-rw-r--r--devel/php81-readline/files/patch-readline_cli.c13
-rw-r--r--devel/php81-shmop/Makefile7
-rw-r--r--devel/php81-sysvmsg/Makefile7
-rw-r--r--devel/php81-sysvsem/Makefile7
-rw-r--r--devel/php81-sysvshm/Makefile7
-rw-r--r--devel/php81-tokenizer/Makefile7
13 files changed, 126 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 5d929ccff89a..a4f7dbab77e1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4037,15 +4037,25 @@
SUBDIR += php74-sysvshm
SUBDIR += php74-tokenizer
SUBDIR += php80-ffi
+ SUBDIR += php81-ffi
SUBDIR += php80-gettext
+ SUBDIR += php81-gettext
SUBDIR += php80-intl
+ SUBDIR += php81-intl
SUBDIR += php80-pcntl
+ SUBDIR += php81-pcntl
SUBDIR += php80-readline
+ SUBDIR += php81-readline
SUBDIR += php80-shmop
+ SUBDIR += php81-shmop
SUBDIR += php80-sysvmsg
+ SUBDIR += php81-sysvmsg
SUBDIR += php80-sysvsem
+ SUBDIR += php81-sysvsem
SUBDIR += php80-sysvshm
+ SUBDIR += php81-sysvshm
SUBDIR += php80-tokenizer
+ SUBDIR += php81-tokenizer
SUBDIR += phpunit6
SUBDIR += phpunit7
SUBDIR += phpunit8
diff --git a/devel/php81-ffi/Makefile b/devel/php81-ffi/Makefile
new file mode 100644
index 000000000000..2ba98dacbc5c
--- /dev/null
+++ b/devel/php81-ffi/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php81
+
+PKGNAMESUFFIX= -ffi
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php81-gettext/Makefile b/devel/php81-gettext/Makefile
new file mode 100644
index 000000000000..7ad00f9b0532
--- /dev/null
+++ b/devel/php81-gettext/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php81
+
+PKGNAMESUFFIX= -gettext
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php81-intl/Makefile b/devel/php81-intl/Makefile
new file mode 100644
index 000000000000..1ccc80b52ca4
--- /dev/null
+++ b/devel/php81-intl/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php81
+
+PKGNAMESUFFIX= -intl
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php81-pcntl/Makefile b/devel/php81-pcntl/Makefile
new file mode 100644
index 000000000000..44c3828b245a
--- /dev/null
+++ b/devel/php81-pcntl/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php81
+
+PKGNAMESUFFIX= -pcntl
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php81-readline/Makefile b/devel/php81-readline/Makefile
new file mode 100644
index 000000000000..ea2fa08b26b4
--- /dev/null
+++ b/devel/php81-readline/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php81
+
+PKGNAMESUFFIX= -readline
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php81-readline/files/patch-config.m4 b/devel/php81-readline/files/patch-config.m4
new file mode 100644
index 000000000000..93799734a3e3
--- /dev/null
+++ b/devel/php81-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/php81-readline/files/patch-readline_cli.c b/devel/php81-readline/files/patch-readline_cli.c
new file mode 100644
index 000000000000..02f55974f9b0
--- /dev/null
+++ b/devel/php81-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/php81-shmop/Makefile b/devel/php81-shmop/Makefile
new file mode 100644
index 000000000000..2ab6d2fec557
--- /dev/null
+++ b/devel/php81-shmop/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php81
+
+PKGNAMESUFFIX= -shmop
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php81-sysvmsg/Makefile b/devel/php81-sysvmsg/Makefile
new file mode 100644
index 000000000000..af09d3d9074b
--- /dev/null
+++ b/devel/php81-sysvmsg/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php81
+
+PKGNAMESUFFIX= -sysvmsg
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php81-sysvsem/Makefile b/devel/php81-sysvsem/Makefile
new file mode 100644
index 000000000000..d973fd14d76c
--- /dev/null
+++ b/devel/php81-sysvsem/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php81
+
+PKGNAMESUFFIX= -sysvsem
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php81-sysvshm/Makefile b/devel/php81-sysvshm/Makefile
new file mode 100644
index 000000000000..a8cf6b05a3b5
--- /dev/null
+++ b/devel/php81-sysvshm/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php81
+
+PKGNAMESUFFIX= -sysvshm
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php81-tokenizer/Makefile b/devel/php81-tokenizer/Makefile
new file mode 100644
index 000000000000..c30f2d3947ec
--- /dev/null
+++ b/devel/php81-tokenizer/Makefile
@@ -0,0 +1,7 @@
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php81
+
+PKGNAMESUFFIX= -tokenizer
+
+.include "${MASTERDIR}/Makefile"