pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/wget2



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Fri Feb 27 17:36:55 UTC 2026

Modified Files:
        pkgsrc/net/wget2: Makefile options.mk

Log Message:
wget2: Add option for lzlib

pkgsrc changes:
---------------
  * Remove default dependency on archivers/lzlib since net/wget2 can be a
    bootstrap package and it is not necessary having too many dependencies.
  * Add an option to build with archivers/lzlib.
  * Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/net/wget2/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/wget2/options.mk

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

Modified files:

Index: pkgsrc/net/wget2/Makefile
diff -u pkgsrc/net/wget2/Makefile:1.23 pkgsrc/net/wget2/Makefile:1.24
--- pkgsrc/net/wget2/Makefile:1.23      Tue Feb 24 15:58:16 2026
+++ pkgsrc/net/wget2/Makefile   Fri Feb 27 17:36:55 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2026/02/24 15:58:16 triaxx Exp $
+# $NetBSD: Makefile,v 1.24 2026/02/27 17:36:55 triaxx Exp $
 
 DISTNAME=      wget2-2.2.1
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GNU:=wget/}
 EXTRACT_SUFX=  .tar.lz
@@ -28,7 +28,6 @@ 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"

Index: pkgsrc/net/wget2/options.mk
diff -u pkgsrc/net/wget2/options.mk:1.1 pkgsrc/net/wget2/options.mk:1.2
--- pkgsrc/net/wget2/options.mk:1.1     Sun Oct  3 13:41:11 2021
+++ pkgsrc/net/wget2/options.mk Fri Feb 27 17:36:55 2026
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.1 2021/10/03 13:41:11 ryoon Exp $
+# $NetBSD: options.mk,v 1.2 2026/02/27 17:36:55 triaxx Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.wget2
-PKG_SUPPORTED_OPTIONS=         gpgme http2 idn psl
+PKG_SUPPORTED_OPTIONS=         gpgme http2 idn lzma psl
 PKG_OPTIONS_OPTIONAL_GROUPS=   ssl
 PKG_OPTIONS_GROUP.ssl=         gnutls openssl
 PKG_SUGGESTED_OPTIONS=         http2 idn openssl psl
@@ -54,6 +54,16 @@ CONFIGURE_ARGS+=--without-libnghttp2
 .endif
 
 ###
+### Support LZMA
+###
+.if !empty(PKG_OPTIONS:Mlzma)
+.  include "../../archivers/lzlib/buildlink3.mk"
+CONFIGURE_ARGS+=--with-lzlib
+.else
+CONFIGURE_ARGS+=--without-lzlib
+.endif
+
+###
 ### Support Public Suffix List
 ###
 .if !empty(PKG_OPTIONS:Mpsl)



Home | Main Index | Thread Index | Old Index