From: Matt Dawson on
On Sunday 06 Dec 2009 11:17:52 you wrote:
> On Sunday 06 Dec 2009 00:00:03 freebsd-ports-request(a)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.
>

Gah, sorry about the subject line. Won't happen again.
--
Matt Dawson
MTD15-RIPE
matt(a)chronos.org.uk
From: Matt Dawson on
On Sunday 06 Dec 2009 12:00:23 freebsd-ports-request(a)freebsd.org wrote:
> On Sunday 06 Dec 2009 00:00:03 freebsd-ports-request(a)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.

The attached couple of patches fix this port in all cases, tested with
tinderbox. Since libusb is in base for FBSD>8 it needs handling
differently. Note well that if you use libusb, you need to NOT attach the
ulpt* driver to the device, i.e. remove ulpt from your kernel or don't load
it at boot.

Also fixed is the CUPS_OVERWRITE_BASE case deinstall, restoring the correct
permissions to lp and friends.
--
Matt Dawson
MTD15-RIPE
matt(a)chronos.org.uk
From: eculp on
End of Story. I recompiled cups without LIBUSB and the 7.2 servers
can now print. Such a simple solution still makes me think that a
note in ports/UPDATING could be a real time saver.

I want to thank Matt, Gary, Steve and Brian for their help.

have a great weekend,

ed

Quoting Matt Dawson <matt(a)chronos.org.uk>:

> On Sunday 06 Dec 2009 11:17:52 you wrote:
>> On Sunday 06 Dec 2009 00:00:03 freebsd-ports-request(a)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.
>>
>
> Gah, sorry about the subject line. Won't happen again.
> --
> Matt Dawson
> MTD15-RIPE
> matt(a)chronos.org.uk
>

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"