blob: 4cfda48f55708575128ebcf0e8c839aa26e00fb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# $NetBSD: options.mk,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ucon64
PKG_SUPPORTED_OPTIONS= libusb
.include "../../mk/bsd.options.mk"
###
### Build with USB support.
###
.if !empty(PKG_OPTIONS:Mlibusb)
CONFIGURE_ARGS+= --with-libusb
CPPFLAGS+= -I${BUILDLINK_PREFIX.libusb}/include
LDFLAGS+= -L${BUILDLINK_PREFIX.libusb}/lib
LDFLAGS+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libusb}/lib
. include "../../devel/libusb/buildlink3.mk"
.endif
|