Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2009 11:17:52 +0000
From:      Matt Dawson <matt@chronos.org.uk>
To:        freebsd-ports@freebsd.org
Subject:   Re: freebsd-ports Digest, Vol 341, Issue 7
Message-ID:  <200912061117.52627.matt@chronos.org.uk>
In-Reply-To: <20091206000003.CBDEC1065705@hub.freebsd.org>
References:  <20091206000003.CBDEC1065705@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_gL5GLKKgoY79NV0
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit

On Sunday 06 Dec 2009 00:00:03 freebsd-ports-request@freebsd.org 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
matt@chronos.org.uk

--Boundary-00=_gL5GLKKgoY79NV0
Content-Type: text/x-patch; charset="ISO-8859-1";
	name="print.cups-base.Makefile.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="print.cups-base.Makefile.diff"

=2D-- ./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 @@
=20
 .if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && defined(WITH_LIBUSB)
 LIB_DEPENDS+=3D		usb:${PORTSDIR}/devel/libusb
+.else
+CONFIGURE_ARGS+=3D	--disable-libusb
 .endif
=20
 .if defined(CUPS_CLIENT)

--Boundary-00=_gL5GLKKgoY79NV0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912061117.52627.matt>