diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2009-03-09 17:15:43 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2009-03-09 17:15:43 +0000 |
commit | f5d05ea54d1f80ecd08c5809a3ce5e1594e34eaa (patch) | |
tree | 343e91600b9cf81ffb94bf71017b43a88bfcbf45 /graphics/s10sh/files/Makefile.bsd | |
parent | - Update to 1.4.20 (diff) |
- Chase libusb20 rename in r189585.
- Mark sane-backends broken on current due to changes
in USB stack.
Reviewed by: thompsa (old version), miwi
Tested by: miwi
Notes
Notes:
svn path=/head/; revision=229765
Diffstat (limited to 'graphics/s10sh/files/Makefile.bsd')
-rw-r--r-- | graphics/s10sh/files/Makefile.bsd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/s10sh/files/Makefile.bsd b/graphics/s10sh/files/Makefile.bsd index d9b2f58516e2..8abbf4eb98b8 100644 --- a/graphics/s10sh/files/Makefile.bsd +++ b/graphics/s10sh/files/Makefile.bsd @@ -7,10 +7,14 @@ LDADD += -lreadline -ltermcap CFLAGS += -DHAVE_READLINE .if !defined(WITHOUT_USB) +. if ${OSVERSION} < 800069 USBLIB != ${LOCALBASE}/bin/libusb-config --libs LDADD += ${USBLIB} USBCF != ${LOCALBASE}/bin/libusb-config --cflags CFLAGS += ${USBCF} -DHAVE_USB_SUPPORT +. else +LDADD += -lusb +. endif SRCS += usb.c .endif |