extra/php to 8.3.12-2

This commit is contained in:
Kevin Mihelich 2024-09-29 10:34:21 +00:00
parent 6ae5773e63
commit 7e151e9f57
2 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,6 @@
pkgbase = php
pkgver = 8.3.12
pkgrel = 1
pkgrel = 2
url = https://www.php.net/
arch = x86_64
license = PHP-3.01
@ -26,6 +26,7 @@ pkgbase = php
makedepends = freetds
makedepends = pcre2
makedepends = oniguruma
options = !lto
source = https://php.net/distributions/php-8.3.12.tar.xz
source = https://php.net/distributions/php-8.3.12.tar.xz.asc
source = apache.patch

View file

@ -22,7 +22,7 @@ pkgname=('php'
'php-tidy'
'php-xsl')
pkgver=8.3.12
pkgrel=1
pkgrel=2
arch=('x86_64')
license=('PHP-3.01')
url='https://www.php.net/'
@ -43,6 +43,9 @@ validpgpkeys=('1198C0117593497A5EC5C199286AF1F9897469DC'
'AFD8691FDAEDF03BDF6E460563F15A9B715376CA'
'C28D937575603EB4ABB725861C0779DC5C0A9DE4')
_interpreter=${pkgver%.*}
# LTO is incompatible with global registers and results in reduced performance:
# https://gitlab.archlinux.org/archlinux/packaging/packages/php/-/merge_requests/3
options=('!lto')
prepare() {
cd "${srcdir}/${pkgbase}-${pkgver}"
@ -70,7 +73,6 @@ build() {
--with-config-file-scan-dir=/etc/php/conf.d \
--disable-rpath \
--mandir=/usr/share/man \
--disable-gcc-global-regs \
"
local _phpextensions="\