mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +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'
|
# Template file for 'boost'
|
||||||
pkgname=boost
|
pkgname=boost
|
||||||
version=1.83.0
|
version=1.83.0
|
||||||
revision=7
|
revision=8
|
||||||
build_style=meta
|
build_style=meta
|
||||||
hostmakedepends="which bzip2-devel icu-devel python3-devel pkg-config"
|
hostmakedepends="which bzip2-devel icu-devel python3-devel pkg-config"
|
||||||
makedepends="zlib-devel bzip2-devel icu-devel python3-devel liblzma-devel libzstd-devel"
|
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";;
|
*) subpackages+=" libboost_math_c99l libboost_math_tr1l";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
_uses_libquadmath=no
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686*|x86_64*|ppc64le) _uses_libquadmath=yes ;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
subpackages+=" libboost_stacktrace_addr2line"
|
subpackages+=" libboost_stacktrace_addr2line"
|
||||||
|
if [ "$_uses_libquadmath" = "yes" ]; then
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
makedepends+=" libquadmath-devel"
|
||||||
i686*|x86_64*|ppc64le)
|
fi
|
||||||
makedepends+=" libquadmath-devel"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
|
@ -219,6 +221,9 @@ boost-devel_package() {
|
||||||
_depends="${subpackages/boost-devel}"
|
_depends="${subpackages/boost-devel}"
|
||||||
_depends="${_depends/libboost_mpi-python3}"
|
_depends="${_depends/libboost_mpi-python3}"
|
||||||
depends="${_depends/boost-python3}"
|
depends="${_depends/boost-python3}"
|
||||||
|
if [ "$_uses_libquadmath" = "yes" ]; then
|
||||||
|
depends+=" libquadmath-devel"
|
||||||
|
fi
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
|
Loading…
Add table
Reference in a new issue