head	1.2;
access;
symbols
	pkgsrc-2024Q3:1.1.0.40
	pkgsrc-2024Q3-base:1.1
	pkgsrc-2024Q2:1.1.0.38
	pkgsrc-2024Q2-base:1.1
	pkgsrc-2024Q1:1.1.0.36
	pkgsrc-2024Q1-base:1.1
	pkgsrc-2023Q4:1.1.0.34
	pkgsrc-2023Q4-base:1.1
	pkgsrc-2023Q3:1.1.0.32
	pkgsrc-2023Q3-base:1.1
	pkgsrc-2023Q2:1.1.0.30
	pkgsrc-2023Q2-base:1.1
	pkgsrc-2023Q1:1.1.0.28
	pkgsrc-2023Q1-base:1.1
	pkgsrc-2022Q4:1.1.0.26
	pkgsrc-2022Q4-base:1.1
	pkgsrc-2022Q3:1.1.0.24
	pkgsrc-2022Q3-base:1.1
	pkgsrc-2022Q2:1.1.0.22
	pkgsrc-2022Q2-base:1.1
	pkgsrc-2022Q1:1.1.0.20
	pkgsrc-2022Q1-base:1.1
	pkgsrc-2021Q4:1.1.0.18
	pkgsrc-2021Q4-base:1.1
	pkgsrc-2021Q3:1.1.0.16
	pkgsrc-2021Q3-base:1.1
	pkgsrc-2021Q2:1.1.0.14
	pkgsrc-2021Q2-base:1.1
	pkgsrc-2021Q1:1.1.0.12
	pkgsrc-2021Q1-base:1.1
	pkgsrc-2020Q4:1.1.0.10
	pkgsrc-2020Q4-base:1.1
	pkgsrc-2020Q3:1.1.0.8
	pkgsrc-2020Q3-base:1.1
	pkgsrc-2020Q2:1.1.0.6
	pkgsrc-2020Q2-base:1.1
	pkgsrc-2020Q1:1.1.0.2
	pkgsrc-2020Q1-base:1.1
	pkgsrc-2019Q4:1.1.0.4
	pkgsrc-2019Q4-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2024.12.01.16.13.14;	author taca;	state dead;
branches;
next	1.1;
commitid	YOsw8g51RUKfEOzF;

1.1
date	2019.12.15.17.56.34;	author taca;	state Exp;
branches;
next	;
commitid	jVQkc3fk7zZvuPOB;


desc
@@


1.2
log
@lang/php74: fix build problem

* Completely switch to using autoconf instead of manually patch configure.

Bump PKGREVISION.
@
text
@$NetBSD: patch-configure,v 1.1 2019/12/15 17:56:34 taca Exp $

* Do not include "PKG_CONFIG*" in CONFIGURE_OPTIONS.
* Don't automatically add libgcc on SunOS. Reported upstream as #75941.
* Don't autodetect maintainer-zts.
* The meta_ccld removal reported upstream as #75940.

--- configure.orig	2019-11-26 20:13:36.000000000 +0000
+++ configure
@@@@ -3682,6 +3682,10 @@@@ EOF
    else
     break
    fi
+   case "$CURRENT_ARG" in
+       \'PKG_CONFIG\=*)	CURRENT_ARG="'PKG_CONFIG=@@TOOLS_PATH.pkg-config@@'";;
+       \'PKG_CONFIG_LIBDIR\=*)	CURRENT_ARG="'PKG_CONFIG_LIBDIR=@@PHP_PKGCONFIG_PATH@@'";;
+   esac
    $as_echo "$CURRENT_ARG \\" >>config.nice
    CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS $CURRENT_ARG"
   done
@@@@ -5642,9 +5646,6 @@@@ fi
 case $host_alias in
   *solaris*)
     CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
-    if test "${enable_libgcc+set}" != "set" && test "$GCC" = "yes"; then
-      enable_libgcc=yes
-    fi
     ;;
   *dgux*)
     CPPFLAGS="$CPPFLAGS -D_BSD_TIMEOFDAY_FLAVOR"
@@@@ -6892,27 +6893,6 @@@@ EOF
     ;;
   esac
 
-  if test "$APACHE_VERSION" -lt 2004001; then
-    APXS_MPM=`$APXS -q MPM_NAME`
-    if test "$APXS_MPM" != "prefork" && test "$APXS_MPM" != "peruser" && test "$APXS_MPM" != "itk"; then
-
-  enable_maintainer_zts=yes
-  if test "$pthreads_working" != "yes"; then
-    as_fn_error $? "ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads." "$LINENO" 5
-  fi
-
-    fi
-  else
-    APACHE_THREADED_MPM=`$APXS_HTTPD -V 2>/dev/null | grep 'threaded:.*yes'`
-    if test -n "$APACHE_THREADED_MPM"; then
-
-  enable_maintainer_zts=yes
-  if test "$pthreads_working" != "yes"; then
-    as_fn_error $? "ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads." "$LINENO" 5
-  fi
-
-    fi
-  fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
 
@@@@ -74443,7 +74423,7 @@@@ $as_echo "#define HAVE_TIDYBUFFIO_H 1" >
   fi
 
   TIDY_LIBDIR=$TIDY_DIR/$PHP_LIBDIR
-  if test "$TIDY_LIB_NAME" == 'tidyp'; then
+  if test "$TIDY_LIB_NAME" = 'tidyp'; then
 
 $as_echo "#define HAVE_TIDYP_H 1" >>confdefs.h
 
@


1.1
log
@lang/php74: Add php74 version 7.4.0 pacakge.

Add php74 version 7.4.0 pacakge based on php73.

PHP is a widely-used open source general-purpose scripting language
that is especially suited for web development and can be embedded
into HTML.  It is modular, and object-oriented.  Much of its syntax
is borrowed from C, Java and Perl with a couple of unique PHP-specific
features thrown in.  The language is designed to allow web developers
to write dynamically generated pages quickly.

PHP 7.4 comes with numerous improvements and new features such as

* Typed Properties
* Arrow Functions
* Limited Return Type Covariance and Argument Type Contravariance
* Unpacking Inside Arrays
* Numeric Literal Separator
* Weak References
* Allow Exceptions from __toString()
* Opcache Preloading
* Several Deprecations
* Extensions Removed from the Core
@
text
@d1 1
a1 1
$NetBSD$
@

