blob: be781cd6b4e9b9bf963b1aa893284b4c08e56c2c (
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
29
30
31
32
33
34
35
|
# $NetBSD: options.mk,v 1.5 2012/11/08 12:56:21 sborrill Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.x11vnc
PKG_SUPPORTED_OPTIONS= avahi inet6 x11
PKG_SUGGESTED_OPTIONS= inet6 x11
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mavahi)
.include "../../net/avahi/buildlink3.mk"
CONFIGURE_ARGS+= --with-avahi=${BUILDLINK_PREFIX.avahi}
.else
CONFIGURE_ARGS+= --without-avahi
.endif
.if empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --without-ipv6
CPPFLAGS+= -DX11VNC_IPV6=0
.endif
.if !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+= --with-x
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXdamage/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXfixes/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-x
.endif
|