summaryrefslogtreecommitdiff
path: root/emulators/fuse-emulator/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/fuse-emulator/options.mk')
-rw-r--r--emulators/fuse-emulator/options.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/emulators/fuse-emulator/options.mk b/emulators/fuse-emulator/options.mk
new file mode 100644
index 00000000000..12e586d85d6
--- /dev/null
+++ b/emulators/fuse-emulator/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2016/01/17 14:27:38 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.fuse
+PKG_SUPPORTED_OPTIONS= sdl gtk
+PKG_SUGGESTED_OPTIONS= gtk
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgtk)
+CONFIGURE_ARGS+= --with-gtk2
+.include "../../x11/gtk2/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Msdl)
+CONFIGURE_ARGS+= --with-sdl
+.include "../../devel/SDL/buildlink3.mk"
+.endif