sane: fix special case for 22 year old hardware.
This commit is contained in:
parent
a4681f82fb
commit
0bd02c2c07
1 changed files with 3 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'sane'
|
||||
pkgname=sane
|
||||
version=1.0.25
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="sane-backends-${version}"
|
||||
build_style=gnu-configure
|
||||
build_options="snmp"
|
||||
|
@ -97,11 +97,8 @@ distfiles="http://ftp.lfs-matrix.net/pub/blfs/conglomeration/sane-backends/sane-
|
|||
checksum=a4d7ba8d62b2dea702ce76be85699940992daf3f44823ddc128812da33dc6e2c
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
# musl provides ioperm but not inb/outb for any arch expect
|
||||
# i386/x32/x86_64 (using bits/io.h included in sys/io.h).
|
||||
# Then, qcam backend is disabled for arm arch.
|
||||
armv[67]l-musl) ;;
|
||||
*) conf_files+=" /etc/sane.d/qcam.conf";;
|
||||
# qcam backend does IO port bitbanging, x86 only.
|
||||
i686*|x86_64*) conf_files+=" /etc/sane.d/qcam.conf";;
|
||||
esac
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in a new issue