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 /sysutils/nut/Makefile | |
| parent | e9e0ba8df0a817712eab81d4a962e79cae35dca1 (diff) | |
Notes
Diffstat (limited to 'sysutils/nut/Makefile')
| -rw-r--r-- | sysutils/nut/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile index b08f0277bb44..1ab9b2aa0621 100644 --- a/sysutils/nut/Makefile +++ b/sysutils/nut/Makefile @@ -96,7 +96,11 @@ PLIST_SUB+= NUT_SERIAL="@comment " .endif .if !defined(WITHOUT_USB) +. if ${OSVERSION} < 800069 LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb +. else +EXTRA_PATCHES= ${FILESDIR}/extra-patch-m4_nut_check_libusb.m4 +. endif CONFIGURE_ARGS+= --with-usb=auto MAN8+= bcmxcp_usb.8 megatec_usb.8 richcomm_usb.8 tripplite_usb.8 \ usbhid-ups.8 |
