blob: c25f6a9ad0914d26160f6cb12b68e0c2dda85fb4 (
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.1 2013/05/26 22:57:53 rodent 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 "../../devel/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
|