pv: explicitly enable ncursesw, add dependency
authorHannu Nyman <[email protected]>
Sun, 30 Nov 2025 14:40:13 +0000 (16:40 +0200)
committerHannu Nyman <[email protected]>
Mon, 1 Dec 2025 10:14:48 +0000 (11:14 +0100)
Explicitly enable ncurses usage and add dependency for it.

(Feature was added 1.9.24, and buildbot has occasionally failed due
to the missing dependency if ncurses has been already built.)

Signed-off-by: Hannu Nyman <[email protected]>
utils/pv/Makefile

index ed6b68435eb48c43f95d2966ea2ba13125751393..98063462ade041395f24691d80c892cc7ecdfc6a 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pv
 PKG_VERSION:=1.9.31
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://www.ivarch.com/programs/sources
@@ -28,6 +28,7 @@ define Package/pv
   CATEGORY:=Utilities
   TITLE:=Shell pipeline element to meter data passing through
   URL:=https://www.ivarch.com/programs/pv.shtml
+  DEPENDS:=+libncursesw
 endef
 
 define Package/pv/description
@@ -38,6 +39,8 @@ define Package/pv/description
  estimate of how long it will be until completion.
 endef
 
+CONFIGURE_ARGS += --with-ncurses
+
 define Package/pv/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pv $(1)/usr/bin/