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"
11 .if
!empty
(PKG_OPTIONS
:Mdri
)
13 CONFIGURE_ARGS
+= --enable-dri
14 CONFIGURE_ARGS
+= --enable-glx
15 CONFIGURE_ARGS
+= --enable-aiglx
18 ### XXX Perhaps we should allow for a built-in glx without dri enabled?
20 CONFIGURE_ARGS
+= --disable-dri
21 CONFIGURE_ARGS
+= --disable-glx
24 .if
!empty
(PKG_OPTIONS
:Minet6
)
25 CONFIGURE_ARGS
+= --enable-ipv6
27 CONFIGURE_ARGS
+= --disable-ipv6
30 .if
!empty
(PKG_OPTIONS
:Mdebug
)
31 CONFIGURE_ARGS
+= --enable-debug