CVS commit: src/distrib/utils/x_gzip

2020-06-03 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Jun  3 07:06:18 UTC 2020

Modified Files:
src/distrib/utils/x_gzip: Makefile

Log Message:
Manifest that we need liblzma only when USE_XZ_SETS is enabled.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/distrib/utils/x_gzip/Makefile

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

Modified files:

Index: src/distrib/utils/x_gzip/Makefile
diff -u src/distrib/utils/x_gzip/Makefile:1.10 src/distrib/utils/x_gzip/Makefile:1.11
--- src/distrib/utils/x_gzip/Makefile:1.10	Fri Oct 26 22:28:59 2018
+++ src/distrib/utils/x_gzip/Makefile	Wed Jun  3 07:06:18 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2018/10/26 22:28:59 christos Exp $
+#	$NetBSD: Makefile,v 1.11 2020/06/03 07:06:18 rin Exp $
 # Build a tiny limited gzip (i.e. for tiny boot media)
 
 SRCDIR= ${.CURDIR}/../../../usr.bin/gzip
@@ -15,8 +15,12 @@ CPPFLAGS+=	${"${USE_XZ_SETS:Uno}"!="no":
 
 # for crunched binaries this does not take effect, also check the
 # LIBS entry in the lists file
-DPADD=		${LIBZ} ${LIBLZMA}
-LDADD=		-lz -llzma
+DPADD=		${LIBZ}
+LDADD=		-lz
+.if ${USE_XZ_SETS:Uno} != "no"
+DPADD+=		${LIBLZMA}
+LDADD+=		-llzma
+.endif
 
 .include 
 



CVS commit: src/distrib/utils/x_gzip

2018-10-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Oct 26 22:29:00 UTC 2018

Modified Files:
src/distrib/utils/x_gzip: Makefile

Log Message:
fixed.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/distrib/utils/x_gzip/Makefile

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

Modified files:

Index: src/distrib/utils/x_gzip/Makefile
diff -u src/distrib/utils/x_gzip/Makefile:1.9 src/distrib/utils/x_gzip/Makefile:1.10
--- src/distrib/utils/x_gzip/Makefile:1.9	Mon Oct  1 13:50:08 2018
+++ src/distrib/utils/x_gzip/Makefile	Fri Oct 26 18:28:59 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2018/10/01 17:50:08 martin Exp $
+#	$NetBSD: Makefile,v 1.10 2018/10/26 22:28:59 christos Exp $
 # Build a tiny limited gzip (i.e. for tiny boot media)
 
 SRCDIR= ${.CURDIR}/../../../usr.bin/gzip
@@ -10,6 +10,7 @@ CPPFLAGS+=	-DSMALL
 CPPFLAGS+=	-DNO_BZIP2_SUPPORT
 CPPFLAGS+=	-DNO_COMPRESS_SUPPORT
 CPPFLAGS+=	-DNO_PACK_SUPPORT
+CPPFLAGS+=	-DNO_LZ_SUPPORT
 CPPFLAGS+=	${"${USE_XZ_SETS:Uno}"!="no":?:-DNO_XZ_SUPPORT}
 
 # for crunched binaries this does not take effect, also check the



CVS commit: src/distrib/utils/x_gzip

2011-06-18 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jun 19 01:25:35 UTC 2011

Modified Files:
src/distrib/utils/x_gzip: Makefile

Log Message:
Add -DNO_PACK_SUPPORT and -DNO_XZ_SUPPORT to CPPFLAGS to omit
extra algorithm not used in installer.

XXX: should we use positive options in usr.bin/gzip/Makefile?


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/distrib/utils/x_gzip/Makefile

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

Modified files:

Index: src/distrib/utils/x_gzip/Makefile
diff -u src/distrib/utils/x_gzip/Makefile:1.7 src/distrib/utils/x_gzip/Makefile:1.8
--- src/distrib/utils/x_gzip/Makefile:1.7	Sun Mar 28 04:10:43 2004
+++ src/distrib/utils/x_gzip/Makefile	Sun Jun 19 01:25:35 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2004/03/28 04:10:43 mrg Exp $
+#	$NetBSD: Makefile,v 1.8 2011/06/19 01:25:35 tsutsui Exp $
 # Build a tiny limited gzip (i.e. for tiny boot media)
 
 SRCDIR= ${.CURDIR}/../../../usr.bin/gzip
@@ -6,7 +6,11 @@
 PROG=		gzip
 NOMAN=		# defined
 
-CPPFLAGS+=	-DSMALL -DNO_BZIP2_SUPPORT -DNO_COMPRESS_SUPPORT
+CPPFLAGS+=	-DSMALL
+CPPFLAGS+=	-DNO_BZIP2_SUPPORT
+CPPFLAGS+=	-DNO_COMPRESS_SUPPORT
+CPPFLAGS+=	-DNO_PACK_SUPPORT
+CPPFLAGS+=	-DNO_XZ_SUPPORT
 
 DPADD=		${LIBZ}
 LDADD=		-lz