pkgsrc-Bugs archive

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

pkg/59948: net/wget2: Enable lzip



>Number:         59948
>Category:       pkg
>Synopsis:       net/wget2: Enable lzip
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 26 17:15:00 +0000 2026
>Originator:     bcallah%posteo.net@localhost
>Release:        Darwin 21.6.0
>Organization:
>Environment:
System: Darwin Brians-Mini-2 21.6.0 Darwin Kernel Version 21.6.0: Mon Jun 24 00:56:10 PDT 2024; root:xnu-8020.240.18.709.2~1/RELEASE_X86_64 x86_64
>Description:
net/wget2 has in its port Makefile CONFIGURE_ARGS+=--without-lzip with a note that it depends on wip/lzlib.
lzlib now lives in archivers, so we can enable this.

While here, set correct TEST_TARGET. All tests pass on Darwin/x86_64.
>How-To-Repeat:

>Fix:
diff --git a/net/wget2/Makefile b/net/wget2/Makefile
index c00d8dbb109a..70d3be5b4cf3 100644
--- a/net/wget2/Makefile
+++ b/net/wget2/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.21 2026/01/07 08:48:30 wiz Exp $
 
 DISTNAME=	wget2-2.2.1
-PKGREVISION=	1
+PKGREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_GNU:=wget/}
 EXTRACT_SUFX=	.tar.lz
@@ -17,16 +17,18 @@ USE_TOOLS+=		gmake pkg-config
 USE_PKGLOCALEDIR=	yes
 
 CONFIGURE_ARGS+=	--disable-doc # Needs pandoc
-CONFIGURE_ARGS+=	--without-lzip # Needs wip/lzlib
 
 PKGCONFIG_OVERRIDE+=	libwget.pc.in
 
+TEST_TARGET=	check
+
 .include "options.mk"
 
 post-install:
 	${RM} -f ${DESTDIR}${PREFIX}/bin/wget2_noinstall
 
 .include "../../archivers/bzip2/buildlink3.mk"
+.include "../../archivers/lzlib/buildlink3.mk"
 .include "../../archivers/xz/buildlink3.mk"
 .include "../../archivers/zstd/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index