summaryrefslogtreecommitdiff
path: root/x11/efltk/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/efltk/options.mk')
-rw-r--r--x11/efltk/options.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/efltk/options.mk b/x11/efltk/options.mk
index 805f8236e54..1e49702af10 100644
--- a/x11/efltk/options.mk
+++ b/x11/efltk/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1.1.1 2005/09/02 14:41:37 xtraeme Exp $
+# $NetBSD: options.mk,v 1.2 2006/02/18 14:07:54 joerg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.efltk
PKG_SUPPORTED_OPTIONS= opengl mysql
@@ -8,10 +8,12 @@ PKG_SUPPORTED_OPTIONS= opengl mysql
.if !empty(PKG_OPTIONS:Mopengl)
PLIST_SUBST+= OPENGL=
CONFIGURE_ARGS+= --enable-opengl
+MAKE_ENV+= HAVE_OPENGL=yes
. include "../../graphics/MesaLib/buildlink3.mk"
.else
PLIST_SUBST+= OPENGL="@comment "
CONFIGURE_ARGS+= --disable-opengl
+MAKE_ENV+= HAVE_OPENGL=no
.endif
.if !empty(PKG_OPTIONS:Mmysql)