On Sunday 06 Dec 2009 00:00:03 [email protected] wrote:
> > An option WITH_LIBUSB was added to the cups-base/Makefile. That's
> > probably what Dirk meant.
>
> Thanks for the explanation, Gary. I have it set with make config but
> just hardcoded it into the Makefile and am recompiling but I doubt it
> will change but there is still hope. ;)
The attached patch works on 8.0-RELEASE for me, restoring the non-libusb
functionality. Leave the libusb option disabled and just compile as normal.
--
Matt Dawson
MTD15-RIPE
[email protected]
--- ./ports/print/cups-base/Makefile.orig 2009-12-06 11:02:46.000000000 +0000
+++ ./ports/print/cups-base/Makefile 2009-12-06 11:09:36.000000000 +0000
@@ -175,6 +175,8 @@
.if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && defined(WITH_LIBUSB)
LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
+.else
+CONFIGURE_ARGS+= --disable-libusb
.endif
.if defined(CUPS_CLIENT)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"