pkgsrc/x11/modular-xorg-server/options.mk

34 lines
717 B
Makefile
Raw Normal View History

2009-10-22 22:12:25 +02:00
# $NetBSD: options.mk,v 1.7 2009/10/22 20:12:25 tnn Exp $
2007-11-09 12:34:47 +01:00
PKG_OPTIONS_VAR= PKG_OPTIONS.modular-xorg-server
2009-10-22 22:12:25 +02:00
PKG_SUPPORTED_OPTIONS= dri inet6 debug
PKG_SUGGESTED_OPTIONS= dri
2007-11-09 12:34:47 +01:00
.include "../../mk/bsd.options.mk"
PLIST_VARS+= dri
.if !empty(PKG_OPTIONS:Mdri)
PLIST.dri= yes
CONFIGURE_ARGS+= --enable-dri
CONFIGURE_ARGS+= --enable-glx
CONFIGURE_ARGS+= --enable-aiglx
.else
###
### XXX Perhaps we should allow for a built-in glx without dri enabled?
###
CONFIGURE_ARGS+= --disable-dri
CONFIGURE_ARGS+= --disable-glx
.endif
2007-11-09 12:34:47 +01:00
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
2009-10-22 22:12:25 +02:00
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
CFLAGS+= -ggdb
.endif