2008-04-13 00:42:57 +02:00
|
|
|
# $NetBSD: options.mk,v 1.3 2008/04/12 22:43:01 jlam Exp $
|
2006-07-23 05:42:43 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.glitz
|
|
|
|
PKG_SUPPORTED_OPTIONS= x11
|
|
|
|
PKG_SUGGESTED_OPTIONS= x11
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= x11
|
|
|
|
|
2006-07-23 05:42:43 +02:00
|
|
|
###
|
|
|
|
### X11 support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
|
|
LIBS.Darwin+= -lXext
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.x11= yes
|
2006-07-23 05:42:43 +02:00
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
2006-11-06 12:28:02 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build # only for configure
|
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2006-07-23 05:42:43 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-glx
|
|
|
|
.endif
|