Module Name: src
Committed By: kre
Date: Sat Sep 29 01:12:22 UTC 2018
Modified Files:
src/etc: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.434 -r1.435 src/etc/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/Makefile
diff -u src/etc/Makefile:1.434 src/etc/Makefile:1.435
--- src/etc/Makefile:1.434 Fri Sep 28 15:11:36 2018
+++ src/etc/Makefile Sat Sep 29 01:12:22 2018
@@ -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 @@ install-obsolete-lists: .PHONY .MAKE
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