mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
boost: includes quadmath.h with gcc 14
This commit is contained in:
parent
109c355698
commit
1e91a9641e
1 changed files with 12 additions and 7 deletions
|
@ -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)
|
||||
makedepends+=" libquadmath-devel"
|
||||
;;
|
||||
esac
|
||||
if [ "$_uses_libquadmath" = "yes" ]; then
|
||||
makedepends+=" libquadmath-devel"
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue