From 4f698c44ee8be9017a07ba9a2b14c9d766ea005b Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sat, 18 Nov 2023 02:00:54 +0100 Subject: */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 --- mail/php80-imap/files/patch-config.m4 | 47 ----------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 mail/php80-imap/files/patch-config.m4 (limited to 'mail/php80-imap/files/patch-config.m4') 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
-+#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE) -+yes -+#endif -+ ],[ -+ PHP_PCRE_REGEX=yes -+ ],[ -+ AC_EGREP_CPP(yes,[ -+#include
-+#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,[ ]) -- cgit v1.2.3