pkgsrc/games/dopewars/options.mk
adam bf479fc7dd Changes 1.5.12:
This really fixes the potential exploit against
the Windows server, which was not correctly fixed in 1.5.11.

Changes 1.5.11:
This is largely a security bugfix release, fixing a potential exploit against
the Windows server when running as an NT serivce.

Pkgsrc:
Use options.mk to build Curses and/or GTK user interface.
2006-02-14 21:40:44 +00:00

23 lines
610 B
Makefile

# $NetBSD: options.mk,v 1.1 2006/02/14 21:40:44 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dopewars
PKG_SUPPORTED_OPTIONS= curses gtk
PKG_SUGGESTED_OPTIONS= curses gtk
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcurses)
. include "../../devel/ncurses/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-curses-client
.endif
.if !empty(PKG_OPTIONS:Mgtk)
CONFIGURE_ARGS+= --enable-gui-client
CONFIGURE_ARGS+= --enable-gui-server
. include "../../x11/gtk2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-gui-client
CONFIGURE_ARGS+= --disable-glib2
. include "../../devel/glib/buildlink3.mk"
.endif