[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / cunit

File: [cvs.NetBSD.org] / pkgsrc / devel / cunit / options.mk (download)

Revision 1.1, Mon Oct 19 08:32:39 2015 UTC (5 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, HEAD

Add optional (default-off) curses support to cunit.

From Alexander Vasarab on tech-pkg.

# $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