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.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/efltk/options.mk b/x11/efltk/options.mk
new file mode 100644
index 00000000000..805f8236e54
--- /dev/null
+++ b/x11/efltk/options.mk
@@ -0,0 +1,24 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/09/02 14:41:37 xtraeme Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.efltk
+PKG_SUPPORTED_OPTIONS= opengl mysql
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mopengl)
+PLIST_SUBST+= OPENGL=
+CONFIGURE_ARGS+= --enable-opengl
+. include "../../graphics/MesaLib/buildlink3.mk"
+.else
+PLIST_SUBST+= OPENGL="@comment "
+CONFIGURE_ARGS+= --disable-opengl
+.endif
+
+.if !empty(PKG_OPTIONS:Mmysql)
+PLIST_SUBST+= MYSQL=
+CONFIGURE_ARGS+= --enable-mysql
+. include "../../mk/mysql.buildlink3.mk"
+.else
+PLIST_SUBST+= MYSQL="@comment "
+CONFIGURE_ARGS+= --disable-mysql
+.endif