Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / ocp / options.mk
blob6fa624bd0fb510a2b25cb9bb33f7b79bb3c2af29
1 # $NetBSD: options.mk,v 1.2 2012/05/21 22:25:02 shattered Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.ocp
4 PKG_SUPPORTED_OPTIONS= x11
6 .include "../../mk/bsd.options.mk"
8 # broken (crashes at startup)
9 .if !empty(PKG_OPTIONS:Msdl)
10 CONFIGURE_ARGS+= --with-sdl=yes
11 PLIST.sdl= yes
12 PLIST.desktop= yes
13 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
14 .include "../../devel/SDL/buildlink3.mk"
15 .else
16 CONFIGURE_ARGS+= --without-sdl
17 .endif
19 .if !empty(PKG_OPTIONS:Mx11)
20 CONFIGURE_ARGS+= --with-x11=yes
21 PLIST.x11= yes
22 PLIST.desktop= yes
23 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
24 .include "../../x11/libX11/buildlink3.mk"
25 .include "../../x11/libXpm/buildlink3.mk"
26 .include "../../x11/libXxf86vm/buildlink3.mk"
27 .else
28 CONFIGURE_ARGS+= --without-x11
29 .endif