mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-23 09:37:02 +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
|
||||
nocross="https://travis-ci.org/void-linux/void-packages/jobs/490108528#L1022"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64*) ;;
|
||||
armv6*|ppc*) makedepends+=" libatomic-devel";;
|
||||
esac
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
fi
|
||||
|
||||
post_patch() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64*) ;;
|
||||
armv6*|ppc*)
|
||||
echo "ahoviewer_LDADD += -latomic" >> src/Makefile.am
|
||||
;;
|
||||
esac
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
echo "ahoviewer_LDADD += -latomic" >> src/Makefile.am
|
||||
fi
|
||||
}
|
||||
|
||||
pre_configure() {
|
||||
|
|
Loading…
Add table
Reference in a new issue