summaryrefslogtreecommitdiff
path: root/devel/cunit/options.mk
blob: 462dd289480a493be1c0e941c58abe119336b92d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: options.mk,v 1.1 2015/10/19 08:32:39 wiz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.cunit
PKG_SUPPORTED_OPTIONS=	curses
PKG_SUGGESTED_OPTIONS=	# empty

.include "../../mk/bsd.options.mk"

PLIST_VARS+=		curses

.if !empty(PKG_OPTIONS:Mcurses)
.include "../../devel/ncurses/buildlink3.mk"
PLIST.curses=		yes
USE_NCURSES=		yes
CONFIGURE_ARGS+=	--enable-curses
LDFLAGS+=		-lcurses
CFLAGS+=		-DNCURSES_OPAQUE=0
.endif