prometheus-cpp: fix armv[56]*
This commit is contained in:
parent
c965885b6d
commit
487383aafb
1 changed files with 6 additions and 6 deletions
|
@ -7,7 +7,7 @@ _hash_googletest=ec44c6c1675c25b9827aacd08c02433cccde7780
|
|||
_hash_civetweb=fbdee7440be24f904208c15a1fc9e2582b866049
|
||||
build_style=cmake
|
||||
hostmakedepends="telegraf protobuf"
|
||||
makedepends="protobuf-devel"
|
||||
makedepends="protobuf-devel libatomic-devel"
|
||||
short_desc="Prometheus Client Library in Modern C++"
|
||||
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
||||
license="MIT"
|
||||
|
@ -21,15 +21,15 @@ checksum="d5ea6dffca5185fb30b9b643343f2ab1d6113672d7aec3e75e0cfa757f50ea25
|
|||
175a22300b3450e27e5f2e6f95cc9abca74617cbc21a1e0ed19bdfbd22ea0305
|
||||
d29d75de6645bd67452df27cda2e4a09848161f9ecacc62b1c1818d0a701cff9"
|
||||
|
||||
case "${XBPS_MACHINE}" in
|
||||
armv6*) broken="https://travis-ci.org/Vaelatern/void-packages/jobs/349193621";;
|
||||
*);;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
mv ../civetweb-${_hash_civetweb}/* ./3rdparty/civetweb
|
||||
mv ../googletest-${_hash_googletest}/* ./3rdparty/googletest
|
||||
mv ../client_model-${_hash_client_model}/* ./3rdparty/prometheus_client_model
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
armv[56]*) sed -i lib/CMakeLists.txt \
|
||||
-e "/target_link_libraries/s;); atomic);"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue