mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +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
1 changed files with 36 additions and 23 deletions
|
@ -7,49 +7,62 @@ versions:
|
||||||
strip: /^php-/
|
strip: /^php-/
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/bison: '*'
|
gnu.org/bison: ^3
|
||||||
re2c.org: '*'
|
re2c.org: ^3
|
||||||
apache.org/apr: '*'
|
apache.org/apr: ^1
|
||||||
apache.org/apr-util: '*'
|
apache.org/apr-util: ^1
|
||||||
bcrypt.sourceforge.net: '*'
|
bcrypt.sourceforge.net: ^1
|
||||||
gnu.org/autoconf: '*'
|
gnu.org/autoconf: ^2
|
||||||
curl.se: '*'
|
curl.se: ^8
|
||||||
gnu.org/gettext: '*'
|
gnu.org/gettext: ^0
|
||||||
gnu.org/gmp: '*'
|
gnu.org/gmp: ^6
|
||||||
libsodium.org: '<1.0.19' # dylib version changed from 23 > 26
|
libsodium.org: '<1.0.19' # dylib version changed from 23 > 26
|
||||||
libzip.org: ~1.9
|
libzip.org: ~1.9
|
||||||
github.com/kkos/oniguruma: '*'
|
github.com/kkos/oniguruma: ^6
|
||||||
openssl.org: '*'
|
openssl.org: '*'
|
||||||
pcre.org/v2: '>=10.30'
|
pcre.org/v2: '>=10.30'
|
||||||
sqlite.org: '*'
|
sqlite.org: ^3
|
||||||
unicode.org: ^71
|
unicode.org: ^71
|
||||||
gnu.org/libiconv: '*'
|
gnu.org/libiconv: ^1
|
||||||
kerberos.org: '*'
|
kerberos.org: ^1
|
||||||
gnome.org/libxml2: '>=2.9.0'
|
gnome.org/libxml2: '>=2.9.0<2.12'
|
||||||
thrysoee.dk/editline: '*'
|
thrysoee.dk/editline: ^3
|
||||||
sourceware.org/libffi: '>=3.0.11'
|
sourceware.org/libffi: '>=3.0.11'
|
||||||
gnome.org/libxslt: '>=1.1.0'
|
gnome.org/libxslt: '>=1.1.0'
|
||||||
gnu.org/gcc: <13
|
gnu.org/gcc: <13
|
||||||
libpng.org: '*'
|
libpng.org: ^1
|
||||||
google.com/webp: '*'
|
google.com/webp: ^1
|
||||||
ijg.org: '*'
|
ijg.org: ^9
|
||||||
gnu.org/sed: ^4 # phpize requires this
|
gnu.org/sed: ^4 # phpize requires this
|
||||||
darwin:
|
darwin:
|
||||||
sourceware.org/bzip2: '*'
|
sourceware.org/bzip2: ^1
|
||||||
zlib.net: '*'
|
zlib.net: ^1
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
freedesktop.org/pkg-config: '*'
|
|
||||||
freetype.org: '*'
|
freetype.org: '*'
|
||||||
darwin:
|
darwin:
|
||||||
tukaani.org/xz: '*'
|
tukaani.org/xz: '*'
|
||||||
linux:
|
|
||||||
gnu.org/make: '*'
|
|
||||||
|
|
||||||
script:
|
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
|
- ./configure $ARGS
|
||||||
- make --jobs {{ hw.concurrency }} install
|
- 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: |
|
- run: |
|
||||||
sed -i.bak \
|
sed -i.bak \
|
||||||
-e's|^prefix=.*|prefix="$(dirname "$(dirname "$0")")"|g' \
|
-e's|^prefix=.*|prefix="$(dirname "$(dirname "$0")")"|g' \
|
||||||
|
|
Loading…
Reference in a new issue