blob: 4c530e203a62df04e35b031ec70cbb0548e0f669 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $NetBSD: options.mk,v 1.3 2008/04/12 22:43:14 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.efltk
PKG_SUPPORTED_OPTIONS= opengl mysql
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
.if !empty(PKG_OPTIONS:Mopengl)
PLIST.opengl= yes
CONFIGURE_ARGS+= --enable-opengl
MAKE_ENV+= HAVE_OPENGL=yes
. include "../../graphics/MesaLib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-opengl
MAKE_ENV+= HAVE_OPENGL=no
.endif
.if !empty(PKG_OPTIONS:Mmysql)
PLIST.mysql= yes
CONFIGURE_ARGS+= --enable-mysql
. include "../../mk/mysql.buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-mysql
.endif
|