Displaying 1 result from an estimated 1 matches for "m4_nut_check_libusb".
2009 Dec 24
2
Finding libusb on FreeBSD 8.0
...#39;t include the libusb-config binary.
This is from the 'ports' Makefile for NUT:
########## - - 8< - - cut here - - ##############
.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
PLIST_SUB+= NUT_USB=""
.else
CONFIGURE_ARGS+= --without-usb
PLIST_SUB+= NUT_USB="@comment "
.endif
#########...