pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

htop-git: Add the missed out options.mk.



Module Name:	pkgsrc-wip
Committed By:	Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By:	fox
Date:		Sun Feb 18 03:11:27 2024 +0100
Changeset:	ff909b275c8d80c3a93bf82b6a3c1dfb51ad96c6

Added Files:
	htop-git/options.mk

Log Message:
htop-git: Add the missed out options.mk.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ff909b275c8d80c3a93bf82b6a3c1dfb51ad96c6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 htop-git/options.mk | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diffs:
diff --git a/htop-git/options.mk b/htop-git/options.mk
new file mode 100644
index 0000000000..773abaa8e6
--- /dev/null
+++ b/htop-git/options.mk
@@ -0,0 +1,20 @@
+# $NetBSD: options.mk,v 1.2 2022/10/04 07:14:57 kim Exp $
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.htop
+
+PKG_OPTIONS_REQUIRED_GROUPS+=	curses
+PKG_OPTIONS_GROUP.curses=	curses ncurses
+
+PKG_SUGGESTED_OPTIONS=		curses
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mncurses)
+. include "../../devel/ncursesw/buildlink3.mk"
+.else
+. include "../../mk/curses.buildlink3.mk"
+. if ${CURSES_TYPE} != "ncursesw"
+# See netbsd/README.md
+CONFIGURE_ARGS+=		--disable-unicode
+. endif
+.endif


Home | Main Index | Thread Index | Old Index