blob: 6fd5f0314926cabc50a1e713b81ff76247586548 (
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.4 2012/06/15 23:06:02 dholland 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
|