blob: e11216a2d466ca9641cb6c2f9a23f9fae055ea97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $NetBSD: options.mk,v 1.2 2018/02/10 13:53:46 khorben Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libticables2
PKG_SUPPORTED_OPTIONS= libusb libusb1 nls
PKG_SUGGESTED_OPTIONS+= libusb nls
PLIST_VARS+= nls
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mlibusb)
BUILDLINK_ABI_DEPENDS.libusb+= libusb>=0.1.12
.include "../../mk/libusb.buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mlibusb1)
.include "../../devel/libusb1/buildlink3.mk"
CONFIGURE_ARGS+= --enable-libusb10
.endif
.if !empty(PKG_OPTIONS:Mnls)
PLIST.nls= yes
.else
CONFIGURE_ARGS+= --disable-nls
.endif
|