Support decimal on Debian bookworm (#767)
parent
cbfd584893
commit
20c19b72f7
|
@ -1,6 +1,5 @@
|
||||||
cassandra !jessie !stretch !buster !bullseye !bookworm
|
cassandra !jessie !stretch !buster !bullseye !bookworm
|
||||||
ddtrace !jessie
|
ddtrace !jessie
|
||||||
decimal !bookworm
|
|
||||||
geos !alpine3.9 !alpine3.10
|
geos !alpine3.9 !alpine3.10
|
||||||
lz4 !jessie
|
lz4 !jessie
|
||||||
memcached !bookworm
|
memcached !bookworm
|
||||||
|
|
|
@ -740,8 +740,10 @@ buildRequiredPackageLists() {
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
decimal@debian)
|
decimal@debian)
|
||||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent ^libmpdec[0-9]*$"
|
if test $DISTRO_MAJMIN_VERSION -lt 1200; then
|
||||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmpdec-dev"
|
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent ^libmpdec[0-9]*$"
|
||||||
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmpdec-dev"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
enchant@alpine)
|
enchant@alpine)
|
||||||
if test $DISTRO_MAJMIN_VERSION -ge 312; then
|
if test $DISTRO_MAJMIN_VERSION -ge 312; then
|
||||||
|
@ -2113,6 +2115,16 @@ installLibavif() {
|
||||||
cd - >/dev/null
|
cd - >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Install libmpdec
|
||||||
|
installLibMPDec() {
|
||||||
|
installLibMPDec_src="$(getPackageSource https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz)"
|
||||||
|
cd -- "$installLibMPDec_src"
|
||||||
|
./configure --disable-cxx
|
||||||
|
make -j$(getProcessorCount)
|
||||||
|
make install
|
||||||
|
cd - >/dev/null
|
||||||
|
}
|
||||||
|
|
||||||
# Install Composer
|
# Install Composer
|
||||||
installComposer() {
|
installComposer() {
|
||||||
installComposer_version="$(getWantedPHPModuleVersion @composer)"
|
installComposer_version="$(getWantedPHPModuleVersion @composer)"
|
||||||
|
@ -2658,12 +2670,14 @@ installRemoteModule() {
|
||||||
case "$DISTRO" in
|
case "$DISTRO" in
|
||||||
alpine)
|
alpine)
|
||||||
if ! test -f /usr/local/lib/libmpdec.so; then
|
if ! test -f /usr/local/lib/libmpdec.so; then
|
||||||
installRemoteModule_src="$(getPackageSource https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz)"
|
installLibMPDec
|
||||||
cd -- "$installRemoteModule_src"
|
fi
|
||||||
./configure --disable-cxx
|
;;
|
||||||
make -j$(getProcessorCount)
|
debian)
|
||||||
make install
|
if test $DISTRO_MAJMIN_VERSION -ge 1200; then
|
||||||
cd - >/dev/null
|
if test -z "$(ldconfig -p | grep -E '\slibmpdec.so\s')"; then
|
||||||
|
installLibMPDec
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue