extra/php-legacy to 8.2.24-2

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

View file

@ -1,6 +1,6 @@
pkgbase = php-legacy
pkgver = 8.2.24
pkgrel = 1
pkgrel = 2
url = https://www.php.net/
arch = x86_64
license = PHP-3.01
@ -29,6 +29,7 @@ pkgbase = php-legacy
makedepends = libnsl
makedepends = oniguruma
makedepends = patchelf
options = !lto
source = https://php.net/distributions/php-8.2.24.tar.xz
source = https://php.net/distributions/php-8.2.24.tar.xz.asc
source = apache.conf

View file

@ -22,7 +22,7 @@ pkgname=('php-legacy'
'php-legacy-tidy'
'php-legacy-xsl')
pkgver=8.2.24
pkgrel=1
pkgrel=2
arch=('x86_64')
license=('PHP-3.01')
url='https://www.php.net/'
@ -45,6 +45,9 @@ validpgpkeys=('1198C0117593497A5EC5C199286AF1F9897469DC'
'39B641343D8C104B2B146DC3F9C39DC0B9698544'
'E60913E4DF209907D8E30D96659A97C9CF2A795A')
_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}/php-${pkgver}"
@ -78,7 +81,6 @@ build() {
--datadir=/usr/share/php-legacy \
--program-suffix=-legacy \
--includedir=/usr/include/php-legacy \
--disable-gcc-global-regs \
"
local _phpextensions="\