From: Hans Petter Selasky on

---------- Forwarded Message ----------

Subject: Re: libusb-config missing?
Date: Thursday 07 January 2010
From: "Daniel O'Connor" <doconnor(a)gsoft.com.au>
To: Hans Petter Selasky <hselasky(a)c2i.net>

On Fri, 25 Dec 2009, Hans Petter Selasky wrote:
> On Friday 25 December 2009 11:28:51 Daniel O'Connor wrote:
> > On Fri, 25 Dec 2009, Hans Petter Selasky wrote:
> > > On Friday 25 December 2009 02:07:42 Daniel O'Connor wrote:
> > > > Would it be possible to create a libusb-config shell script and
> > > > install it in /usr/bin?
>
> Can you provide a pseudo-libusb port patch for this?

I've attached a shar and there is this..
diff -ur /usr/ports/devel/libusb/Makefile libusb/Makefile
--- /usr/ports/devel/libusb/Makefile 2009-08-22 09:48:15.000000000 +0930
+++ libusb/Makefile 2010-01-07 14:52:57.000000000 +1030
@@ -16,6 +16,8 @@

OPTIONS= SGML "Install developer guide from SGML" off

+CONFLICTS= libusb_base-*
+
.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 800069

Although I think it's mostly unecessary due to the OSVERSION check.

One problem is that ports don't know which version to use, it would be nice
if they could just depend on devel/libusb and Magic Happened (tm) to pick
the correct thing.

Unfortunately that is beyond my port fu :(

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

-------------------------------------------------------