mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(php) (#4183)
* fix(php) major version locks; libxml2 <2.12 closes #4172 * ugh
This commit is contained in:
parent
049b6c3828
commit
02766bfb8d
|
@ -7,49 +7,62 @@ versions:
|
|||
strip: /^php-/
|
||||
|
||||
dependencies:
|
||||
gnu.org/bison: '*'
|
||||
re2c.org: '*'
|
||||
apache.org/apr: '*'
|
||||
apache.org/apr-util: '*'
|
||||
bcrypt.sourceforge.net: '*'
|
||||
gnu.org/autoconf: '*'
|
||||
curl.se: '*'
|
||||
gnu.org/gettext: '*'
|
||||
gnu.org/gmp: '*'
|
||||
gnu.org/bison: ^3
|
||||
re2c.org: ^3
|
||||
apache.org/apr: ^1
|
||||
apache.org/apr-util: ^1
|
||||
bcrypt.sourceforge.net: ^1
|
||||
gnu.org/autoconf: ^2
|
||||
curl.se: ^8
|
||||
gnu.org/gettext: ^0
|
||||
gnu.org/gmp: ^6
|
||||
libsodium.org: '<1.0.19' # dylib version changed from 23 > 26
|
||||
libzip.org: ~1.9
|
||||
github.com/kkos/oniguruma: '*'
|
||||
github.com/kkos/oniguruma: ^6
|
||||
openssl.org: '*'
|
||||
pcre.org/v2: '>=10.30'
|
||||
sqlite.org: '*'
|
||||
sqlite.org: ^3
|
||||
unicode.org: ^71
|
||||
gnu.org/libiconv: '*'
|
||||
kerberos.org: '*'
|
||||
gnome.org/libxml2: '>=2.9.0'
|
||||
thrysoee.dk/editline: '*'
|
||||
gnu.org/libiconv: ^1
|
||||
kerberos.org: ^1
|
||||
gnome.org/libxml2: '>=2.9.0<2.12'
|
||||
thrysoee.dk/editline: ^3
|
||||
sourceware.org/libffi: '>=3.0.11'
|
||||
gnome.org/libxslt: '>=1.1.0'
|
||||
gnu.org/gcc: <13
|
||||
libpng.org: '*'
|
||||
google.com/webp: '*'
|
||||
ijg.org: '*'
|
||||
libpng.org: ^1
|
||||
google.com/webp: ^1
|
||||
ijg.org: ^9
|
||||
gnu.org/sed: ^4 # phpize requires this
|
||||
darwin:
|
||||
sourceware.org/bzip2: '*'
|
||||
zlib.net: '*'
|
||||
sourceware.org/bzip2: ^1
|
||||
zlib.net: ^1
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: '*'
|
||||
freetype.org: '*'
|
||||
darwin:
|
||||
tukaani.org/xz: '*'
|
||||
linux:
|
||||
gnu.org/make: '*'
|
||||
|
||||
script:
|
||||
# this is annoying. install-pear-nozlib.phar relies on finding /usr/bin/cpp.
|
||||
# and editing the archive messes with the offsets
|
||||
- run: |
|
||||
if [ ! -f /usr/bin/cpp ]; then
|
||||
sudo ln -s "{{deps.gnu.org/gcc.prefix}}/bin/cpp" /usr/bin/cpp
|
||||
FAKE_CPP=1
|
||||
fi
|
||||
if: linux
|
||||
- ./configure $ARGS
|
||||
- make --jobs {{ hw.concurrency }} install
|
||||
|
||||
# clean up our fake /usr/bin/cpp
|
||||
- run: |
|
||||
if [ -n "$FAKE_CPP" ]; then
|
||||
sudo rm /usr/bin/cpp
|
||||
fi
|
||||
if: linux
|
||||
|
||||
- run: |
|
||||
sed -i.bak \
|
||||
-e's|^prefix=.*|prefix="$(dirname "$(dirname "$0")")"|g' \
|
||||
|
|
Loading…
Reference in a new issue