summaryrefslogtreecommitdiff
path: root/audio/ocp/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ocp/options.mk')
-rw-r--r--audio/ocp/options.mk12
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/ocp/options.mk b/audio/ocp/options.mk
index 0b0af7ff787..75e13b43347 100644
--- a/audio/ocp/options.mk
+++ b/audio/ocp/options.mk
@@ -1,24 +1,26 @@
-# $NetBSD: options.mk,v 1.1 2012/04/30 08:26:41 shattered Exp $
+# $NetBSD: options.mk,v 1.2 2012/05/21 22:25:02 shattered Exp $
-PKG_OPTIONS_VAR= PKG_OPTIONS.ocp
-PKG_SUPPORTED_OPTIONS= x11
+PKG_OPTIONS_VAR= PKG_OPTIONS.ocp
+PKG_SUPPORTED_OPTIONS= x11
.include "../../mk/bsd.options.mk"
# broken (crashes at startup)
.if !empty(PKG_OPTIONS:Msdl)
-CONFIGURE_ARGS+= --with-sdl=yes
+CONFIGURE_ARGS+= --with-sdl=yes
PLIST.sdl= yes
PLIST.desktop= yes
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../devel/SDL/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-sdl
.endif
.if !empty(PKG_OPTIONS:Mx11)
-CONFIGURE_ARGS+= --with-x11=yes
+CONFIGURE_ARGS+= --with-x11=yes
PLIST.x11= yes
PLIST.desktop= yes
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"