diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-11-18 01:00:54 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-11-18 12:29:52 +0000 |
commit | 4f698c44ee8be9017a07ba9a2b14c9d766ea005b (patch) | |
tree | 660d2fa653ffca11b3e8084591e40a41adf2fd1a /mail | |
parent | 2b1c9d35db561c855f508322f7612d7960132397 (diff) | |
download | ports-4f698c44ee8be9017a07ba9a2b14c9d766ea005b.tar.gz ports-4f698c44ee8be9017a07ba9a2b14c9d766ea005b.zip |
*/php80*: Refactor codes
- Switch to system pcre2
- Remove no longer required CONFIGURE_ARGS
- Remove unnecessary patch from archivers/php80-phar
- Remove unnecessary patch from converters/php80-mbstring
- Add support for bdb:18 in databases/php80-dba
- Remove unnecessary introduction of configure flags in
databases/php80-odbc
- Remove unnecessary patch from devel/php80-readline
- Remove NOOP post-patch target from ftp/php80-ftp
- Remove unnecessary patch and NOOP OPTIONS TRUETYPE from
graphics/php80-gd
- Remove unnecessary patch from mail/php80-imap and remove the OPTION
for using CCLIENT as this has been marked DEPRECATED since there has
been no release in last 16 years
- Remove unnecessary patch from sysutils/php80-fileinfo
- Remove unnecessary patch from textproc/php80-simplexml
- Refactor patches for post-patch target in textproc/php80-enchant and
switch to enchant2 for dependencies
- Refactor patches for post-patch target in textproc/php80-xsl
Diffstat (limited to 'mail')
-rw-r--r-- | mail/php80-imap/files/patch-config.m4 | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/mail/php80-imap/files/patch-config.m4 b/mail/php80-imap/files/patch-config.m4 deleted file mode 100644 index b2a153543fe3..000000000000 --- a/mail/php80-imap/files/patch-config.m4 +++ /dev/null @@ -1,47 +0,0 @@ ---- config.m4.orig 2019-08-20 14:09:27 UTC -+++ config.m4 -@@ -105,6 +105,13 @@ PHP_ARG_WITH([imap-ssl], - [no], - [no]) - -+PHP_ARG_WITH([pcre-dir], -+ [pcre install prefix], -+ [AS_HELP_STRING([[--with-pcre-dir]], -+ [IMAP: pcre install prefix])], -+ [no], -+ [no]) -+ - if test "$PHP_IMAP" != "no"; then - PHP_SUBST(IMAP_SHARED_LIBADD) - PHP_NEW_EXTENSION(imap, php_imap.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) -@@ -120,6 +127,30 @@ if test "$PHP_IMAP" != "no"; then - fi - done - -+ dnl This is PECL build, check if bundled PCRE library is used -+ old_CPPFLAGS=$CPPFLAGS -+ CPPFLAGS=$INCLUDES -+ AC_EGREP_CPP(yes,[ -+#include <main/php_config.h> -+#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE) -+yes -+#endif -+ ],[ -+ PHP_PCRE_REGEX=yes -+ ],[ -+ AC_EGREP_CPP(yes,[ -+#include <main/php_config.h> -+#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE) -+yes -+#endif -+ ],[ -+ PHP_PCRE_REGEX=pecl -+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include) -+ ],[ -+ PHP_PCRE_REGEX=no -+ ]) -+ ]) -+ - dnl Check for c-client version 2004 - AC_EGREP_HEADER(mail_fetch_overview_sequence, $IMAP_INC_DIR/mail.h, [ - AC_DEFINE(HAVE_IMAP2004,1,[ ]) |