summaryrefslogtreecommitdiff
path: root/devel/cunit/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cunit/options.mk')
-rw-r--r--devel/cunit/options.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/cunit/options.mk b/devel/cunit/options.mk
new file mode 100644
index 00000000000..462dd289480
--- /dev/null
+++ b/devel/cunit/options.mk
@@ -0,0 +1,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