mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
ahoviewer: use generic libatomic checks
This commit is contained in:
parent
9fdda4275b
commit
8aefc0b45b
1 changed files with 6 additions and 10 deletions
|
@ -17,18 +17,14 @@ distfiles="${homepage}/archive/${version}.tar.gz"
|
||||||
checksum=a14e32b4a8095c9f8b4b607c090a50cc8ac1076550e57b5a9303c54089068152
|
checksum=a14e32b4a8095c9f8b4b607c090a50cc8ac1076550e57b5a9303c54089068152
|
||||||
nocross="https://travis-ci.org/void-linux/void-packages/jobs/490108528#L1022"
|
nocross="https://travis-ci.org/void-linux/void-packages/jobs/490108528#L1022"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
ppc64*) ;;
|
makedepends+=" libatomic-devel"
|
||||||
armv6*|ppc*) makedepends+=" libatomic-devel";;
|
fi
|
||||||
esac
|
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
ppc64*) ;;
|
echo "ahoviewer_LDADD += -latomic" >> src/Makefile.am
|
||||||
armv6*|ppc*)
|
fi
|
||||||
echo "ahoviewer_LDADD += -latomic" >> src/Makefile.am
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue