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 | |
parent | e9e0ba8df0a817712eab81d4a962e79cae35dca1 (diff) |
Notes
Diffstat (limited to 'graphics/s10sh/files')
-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 |