summaryrefslogtreecommitdiff
path: root/emulators/qemu/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu/options.mk')
-rw-r--r--emulators/qemu/options.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/emulators/qemu/options.mk b/emulators/qemu/options.mk
new file mode 100644
index 00000000000..eac6719eb9e
--- /dev/null
+++ b/emulators/qemu/options.mk
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1 2011/02/28 17:49:30 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.qemu
+PKG_SUPPORTED_OPTIONS= sdl
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if empty(OPSYS:MDarwin)
+PKG_SUGGESTED_OPTIONS= sdl
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Msdl)
+CONFIGURE_ARGS+= --enable-sdl
+.include "../../devel/SDL/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-sdl
+.endif