This is critical: all USB scanners will fail when build *with* option USB! Please see: http://svnweb.freebsd.org/ports/head/graphics/sane-backends/Makefile?r1=310057&r2=315474 If you build sane-backends with option USB, then USB will be disabled: $ /usr/local/bin/sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. ... # No USB scanners found. If you expected something different, make sure that # you have loaded a kernel driver for your USB host controller and have setup # the USB system correctly. See man sane-usb for details. # SANE has been built without libusb support. This may be a reason # for not detecting USB scanners. Read README for more details. Fix: Apply the attached patch. I guess one should add dependency to libusb, but since the last patch removed this i don't know the right way. Patch attached with submission follows: How-To-Repeat: Build with option USB an run `/usr/local/bin/sane-find-scanner`, it will tell you there is no libusb support build in.
Responsible Changed From-To: freebsd-ports-bugs->wg I'll take it.
Author: wg Date: Mon Apr 8 12:26:46 2013 New Revision: 315759 URL: http://svnweb.freebsd.org/changeset/ports/315759 Log: - Fix inverted logic for USB option PR: ports/177621 Submitted by: Eric Krausser <eric@krausser-edv.de> Approved by: portmgr (bapt), culot (mentor) Modified: head/graphics/sane-backends/Makefile Modified: head/graphics/sane-backends/Makefile ============================================================================== --- head/graphics/sane-backends/Makefile Mon Apr 8 12:12:46 2013 (r315758) +++ head/graphics/sane-backends/Makefile Mon Apr 8 12:26:46 2013 (r315759) @@ -53,7 +53,7 @@ LDFLAGS+= -L${LOCALBASE}/lib .include "Makefile.man" .include <bsd.port.pre.mk> -.if ${PORT_OPTIONS:MUSB} +.if empty(PORT_OPTIONS:MUSB) CONFIGURE_ARGS+= --disable-libusb .endif _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!