mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
apr-util: needs libatomic for some target archs
This commit is contained in:
parent
92f51ab4c4
commit
d9eb800c11
1 changed files with 8 additions and 0 deletions
|
@ -20,6 +20,14 @@ license="Apache-2.0"
|
||||||
distfiles="http://www.apache.org/dist/apr/${pkgname}-${version}.tar.bz2"
|
distfiles="http://www.apache.org/dist/apr/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b
|
checksum=d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
ppc64*);;
|
||||||
|
ppc*|armv[56]*|mips*)
|
||||||
|
makedepends+=" libatomic-devel"
|
||||||
|
LDFLAGS="-latomic"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i configure \
|
sed -i configure \
|
||||||
-e "s;^\( APR_BUILD_DIR=\).*$;\1${XBPS_CROSS_BASE}/usr/share/apr-1/build;"
|
-e "s;^\( APR_BUILD_DIR=\).*$;\1${XBPS_CROSS_BASE}/usr/share/apr-1/build;"
|
||||||
|
|
Loading…
Add table
Reference in a new issue