diff options
author | abs <abs> | 2009-03-14 12:06:49 +0000 |
---|---|---|
committer | abs <abs> | 2009-03-14 12:06:49 +0000 |
commit | 976e293a726bec8f28bbf54b6026997264ef79a4 (patch) | |
tree | c2647a699fe3ed2c734f8df59802ce5f29e4cde3 /x11/fltk2/options.mk | |
parent | 1f38f716f7ea5fcd2afafa0c86b3843f2a79fc60 (diff) | |
download | pkgsrc-976e293a726bec8f28bbf54b6026997264ef79a4.tar.gz |
make opengl support optional, and default to off on very slow archs (m68k,m68000,vax). bump PKGREVISION
Diffstat (limited to 'x11/fltk2/options.mk')
-rw-r--r-- | x11/fltk2/options.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/fltk2/options.mk b/x11/fltk2/options.mk new file mode 100644 index 00000000000..a4906dd532d --- /dev/null +++ b/x11/fltk2/options.mk @@ -0,0 +1,20 @@ +# $NetBSD: options.mk,v 1.1 2009/03/14 12:06:49 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" + +.if !empty(PKG_OPTIONS:Mgl) +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../graphics/glu/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-gl +.endif |