Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / x11 / modular-xorg-server / options.mk
blob0a5b0b08270ec49e24b077f59144d5b28b89460e
1 # $NetBSD: options.mk,v 1.7 2009/10/22 20:12:25 tnn Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.modular-xorg-server
4 PKG_SUPPORTED_OPTIONS= dri inet6 debug
5 PKG_SUGGESTED_OPTIONS= dri inet6
7 .include "../../mk/bsd.options.mk"
9 PLIST_VARS+= dri
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
24 .if !empty(PKG_OPTIONS:Minet6)
25 CONFIGURE_ARGS+= --enable-ipv6
26 .else
27 CONFIGURE_ARGS+= --disable-ipv6
28 .endif
30 .if !empty(PKG_OPTIONS:Mdebug)
31 CONFIGURE_ARGS+= --enable-debug
32 CFLAGS+= -ggdb
33 .endif