pkgsrc/emulators/ucon64/options.mk

18 lines
474 B
Makefile
Raw Normal View History

# $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