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
13 .
include "../../sysutils/desktop-file-utils/desktopdb.mk"
14 .
include "../../devel/SDL/buildlink3.mk"
16 CONFIGURE_ARGS
+= --without-sdl
19 .if
!empty
(PKG_OPTIONS
:Mx11
)
20 CONFIGURE_ARGS
+= --with-x11
=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"
28 CONFIGURE_ARGS
+= --without-x11