blob: d785cd2871eb23d66468ea753d6a830fa94c14be (
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 2009/03/18 11:09:33 abs Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fltk2
PKG_SUPPORTED_OPTIONS= opengl
PKG_SUGGESTED_OPTIONS=
# Default
.if ${MACHINE_ARCH} != "m68k" && ${MACHINE_ARCH} != "m68000" && \
${MACHINE_ARCH} != "vax"
PKG_SUGGESTED_OPTIONS+= opengl
.endif
.include "../../mk/bsd.options.mk"
PLIST_VARS+= opengl
.if !empty(PKG_OPTIONS:Mopengl)
PLIST.opengl= yes
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-gl
SUBST_CLASSES+= opengl
SUBST_STAGE.opengl= post-configure
SUBST_FILES.opengl= Makefile
SUBST_SED.opengl= -e 's|OpenGL fluid glut test|fluid|g'
.endif
|