Source-Changes-HG archive

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

[src/trunk]: src/etc Only test USE_XZ_SETS if it is defined. This is probab...



details:   https://anonhg.NetBSD.org/src/rev/f12ba912eacc
branches:  trunk
changeset: 433701:f12ba912eacc
user:      kre <kre%NetBSD.org@localhost>
date:      Sat Sep 29 01:12:22 2018 +0000

description:
Only test USE_XZ_SETS if it is defined.   This is probably not the
correct fix, so someone else please do it correctly - either this is
the wrong word, or it should be given a default value elsewhere.

diffstat:

 etc/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6c23d3cd1496 -r f12ba912eacc etc/Makefile
--- a/etc/Makefile      Fri Sep 28 23:40:45 2018 +0000
+++ b/etc/Makefile      Sat Sep 29 01:12:22 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.434 2018/09/28 15:11:36 martin Exp $
+#      $NetBSD: Makefile,v 1.435 2018/09/29 01:12:22 kre Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -410,7 +410,7 @@
 distrib-dirs: .PHONY check_DESTDIR
        cd ${NETBSDSRCDIR}/etc/mtree && ${MAKE} distrib-dirs
 
-.if ${USE_XZ_SETS} != "no"
+.if defined(USE_XZ_SETS) && ${USE_XZ_SETS} != "no"
 COMPRESS_PROGRAM=${TOOL_XZ}
 XZ_OPT=-9
 TAR_SUFF=tar.xz



Home | Main Index | Thread Index | Old Index