pkgsrc-WIP-changes archive

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

htop-git: Remove dependencies on ncurses and bsdtar



Module Name:	pkgsrc-wip
Committed By:	nia <nia%NetBSD.org@localhost>
Pushed By:	nee
Date:		Sun Sep 5 12:34:32 2021 +0200
Changeset:	7127f9ba9237657395390b802d5277fc1a164852

Modified Files:
	htop-git/Makefile

Log Message:
htop-git: Remove dependencies on ncurses and bsdtar

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

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

diffstat:
 htop-git/Makefile | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diffs:
diff --git a/htop-git/Makefile b/htop-git/Makefile
index 76a0165709..e6c43573a5 100644
--- a/htop-git/Makefile
+++ b/htop-git/Makefile
@@ -5,7 +5,6 @@ CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GITHUB:=htop-dev/}
 GITHUB_PROJECT=	htop
 GITHUB_TAG=     0925c54caadbdf55c34a06590c62dfa1cfa68a93
-EXTRACT_USING=	bsdtar
 
 MAINTAINER=	fox%NetBSD.org@localhost
 HOMEPAGE=	https://htop.dev/
@@ -20,12 +19,17 @@ GNU_CONFIGURE=	yes
 USE_TOOLS+=	autoreconf automake
 USE_LANGUAGES=	c c++
 USE_LIBTOOL=	yes
-USE_NCURSES=	yes # uses ncurses mouse definitions
+
+.include "../../mk/curses.buildlink3.mk"
+
+.if ${CURSES_TYPE} != "ncursesw"
+# See netbsd/README.md
+CONFIGURE_ARGS+=	--disable-unicode
+.endif
 
 pre-configure:
 	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./autogen.sh
 
-.include "../../devel/ncursesw/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index