blob: 16905701e91160eb16ea474389d1927ed169914d (
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
25
26
27
28
|
# $NetBSD: options.mk,v 1.6 2012/08/16 14:52:27 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.wireshark
PKG_SUPPORTED_OPTIONS= gtk2 lua
PKG_SUGGESTED_OPTIONS= gtk2
.include "../../mk/bsd.options.mk"
PLIST_VARS+= gtk2
.if !empty(PKG_OPTIONS:Mgtk2)
CONFIGURE_ARGS+= --enable-wireshark
PLIST.gtk2= yes
.include "../../x11/gtk2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-wireshark
.endif
PLIST_VARS+= lua
.if empty(PKG_OPTIONS:Mlua)
CONFIGURE_ARGS+= --with-lua=no
.else
.include "../../lang/lua/buildlink3.mk"
CONFIGURE_ARGS+= --with-lua=${BUILDLINK_PREFIX.lua}
PLIST.lua= yes
.endif
|