boost: includes quadmath.h with gcc 14

This commit is contained in:
oreo639 2025-05-09 00:49:53 -07:00
parent 109c355698
commit 1e91a9641e

View file

@ -1,7 +1,7 @@
# Template file for 'boost'
pkgname=boost
version=1.83.0
revision=7
revision=8
build_style=meta
hostmakedepends="which bzip2-devel icu-devel python3-devel pkg-config"
makedepends="zlib-devel bzip2-devel icu-devel python3-devel liblzma-devel libzstd-devel"
@ -63,14 +63,16 @@ case "$XBPS_TARGET_MACHINE" in
*) subpackages+=" libboost_math_c99l libboost_math_tr1l";;
esac
_uses_libquadmath=no
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*|ppc64le) _uses_libquadmath=yes ;;
esac
if [ -z "$CROSS_BUILD" ]; then
subpackages+=" libboost_stacktrace_addr2line"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*|ppc64le)
if [ "$_uses_libquadmath" = "yes" ]; then
makedepends+=" libquadmath-devel"
;;
esac
fi
fi
if [ "$XBPS_TARGET_LIBC" = musl ]; then
@ -219,6 +221,9 @@ boost-devel_package() {
_depends="${subpackages/boost-devel}"
_depends="${_depends/libboost_mpi-python3}"
depends="${_depends/boost-python3}"
if [ "$_uses_libquadmath" = "yes" ]; then
depends+=" libquadmath-devel"
fi
short_desc+=" - development files"
pkg_install() {
vmove usr/include