ff2fef2034064faaf3a0d2c72319385b5de10a48
[pkgsrc.git] / x11 / modular-xorg-server / options.mk
1 # $NetBSD: options.mk,v 1.6 2009/06/07 11:23:46 wiz Exp $
2
3 PKG_OPTIONS_VAR=        PKG_OPTIONS.modular-xorg-server
4 PKG_SUPPORTED_OPTIONS=  dri inet6
5 PKG_SUGGESTED_OPTIONS=  dri
6
7 .include "../../mk/bsd.options.mk"
8
9 PLIST_VARS+=            dri
10
11 .if !empty(PKG_OPTIONS:Mdri)
12 PLIST.dri=              yes
13 CONFIGURE_ARGS+=        --enable-dri
14 CONFIGURE_ARGS+=        --enable-glx
15 CONFIGURE_ARGS+=        --enable-aiglx
16 .else
17 ###
18 ### XXX Perhaps we should allow for a built-in glx without dri enabled?
19 ###
20 CONFIGURE_ARGS+=        --disable-dri
21 CONFIGURE_ARGS+=        --disable-glx
22 .endif
23
24 .if !empty(PKG_OPTIONS:Minet6)
25 CONFIGURE_ARGS+=        --enable-ipv6
26 .else
27 CONFIGURE_ARGS+=        --disable-ipv6
28 .endif