Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 458580 | Differences between
and this patch

Collapse All | Expand All

(-)sane-backends-1.0.23.ebuild (-3 / +5 lines)
Lines 94-100 Link Here
94
	umax_pp
94
	umax_pp
95
	xerox_mfp"
95
	xerox_mfp"
96
96
97
IUSE="avahi doc gphoto2 ipv6 threads usb v4l xinetd"
97
IUSE="avahi doc gphoto2 ipv6 threads usb v4l xinetd snmp"
98
98
99
for backend in ${IUSE_SANE_BACKENDS}; do
99
for backend in ${IUSE_SANE_BACKENDS}; do
100
	if [ ${backend} = pnm ]; then
100
	if [ ${backend} = pnm ]; then
Lines 129-135 Link Here
129
		virtual/jpeg
129
		virtual/jpeg
130
	)
130
	)
131
	v4l? ( media-libs/libv4l )
131
	v4l? ( media-libs/libv4l )
132
	xinetd? ( sys-apps/xinetd )"
132
	xinetd? ( sys-apps/xinetd )
133
	snmp? ( net-analyzer/net-snmp )
134
"
133
135
134
DEPEND="${RDEPEND}
136
DEPEND="${RDEPEND}
135
	v4l? ( sys-kernel/linux-headers )
137
	v4l? ( sys-kernel/linux-headers )
Lines 190-196 Link Here
190
		fi
192
		fi
191
	done
193
	done
192
194
193
	local myconf=$(use_enable usb libusb)
195
	local myconf="$(use_enable usb libusb) $(use_with snmp)"
194
	# you can only enable this backend, not disable it...
196
	# you can only enable this backend, not disable it...
195
	if use sane_backends_pnm; then
197
	if use sane_backends_pnm; then
196
		myconf="${myconf} --enable-pnm-backend"
198
		myconf="${myconf} --enable-pnm-backend"

Return to bug 458580