Module Name:    src
Committed By:   matt
Date:           Thu Jun 30 18:15:14 UTC 2011

Modified Files:
        src/etc: Makefile

Log Message:
Add COMPRESS_PROGRAM=${TOOL_GZIP:Q} for pax.
Replace gzip with ${TOOL_GZIP}


To generate a diff of this commit:
cvs rdiff -u -r1.390 -r1.391 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.390 src/etc/Makefile:1.391
--- src/etc/Makefile:1.390	Sun Apr 17 13:07:18 2011
+++ src/etc/Makefile	Thu Jun 30 18:15:13 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.390 2011/04/17 13:07:18 martin Exp $
+#	$NetBSD: Makefile,v 1.391 2011/06/30 18:15:13 matt Exp $
 #	from: @(#)Makefile	8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -571,7 +571,7 @@
 	kerndir=${KERNOBJDIR}/${configfile:C/.*\///}; \
 	kernsuffixes="${KERNEL_SUFFIXES:S/^/./}"; \
 	kern_tgz=${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets/kern-${configfile}.tgz; \
-	pax_cmd="GZIP=-9 ${TOOL_PAX} -O -zw -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \
+	pax_cmd="COMPRESS_PROGRAM=${TOOL_GZIP:Q} GZIP=-9 ${TOOL_PAX} -O -zw -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \
 	cd $${kerndir} && { \
 		kernels=; newest=; \
 		for kernel in $${kernlist}; do \
@@ -612,8 +612,8 @@
 				knl_gz="${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/$${kernel}-${configfile:C/.*\///}$${s}.gz"; \
 				[ $${knl_gz} -nt $${ks} ] && continue; \
 				rm -f $${knl_gz}; \
-				echo "gzip -c -9 < $${kerndir}/$${ks} > $${knl_gz}"; \
-				gzip -c -9 < $${ks} > $${knl_gz}; \
+				echo "${TOOL_GZIP} -c -9 < $${kerndir}/$${ks} > $${knl_gz}"; \
+				${TOOL_GZIP} -c -9 < $${ks} > $${knl_gz}; \
 			done; \
 		done; \
 	}

Reply via email to