summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authoragc <agc>1999-07-02 08:37:20 +0000
committeragc <agc>1999-07-02 08:37:20 +0000
commit8a5c97441495d18daeb3c61d9a964ad847e36b55 (patch)
tree362c5b8a0071e5142cca0f9817f6405d9085751b /mk/bsd.pkg.mk
parent2f5a25dd4429df572f46b4c56c15505c5650ab29 (diff)
downloadpkgsrc-8a5c97441495d18daeb3c61d9a964ad847e36b55.tar.gz
Some packages use bsd-style .mk files when building, and so any manual
pages that are installed will be gzip-compressed, if MANZ is set, or not if MANZ is not set. If the package uses bsd-style .mk files, the variable MANCOMPRESSED_IF_MANZ should be set to a value of "yes" in the package Makefile. This replaces the previous method of specific inclusion of bsd.prefs.mk, followed by a check for MANZ and conditional assignment of MANCOMPRESSED. Add appropriate documentation, and change all necessary ocurrences in package Makefiles.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 4e5aae9e15c..66910c5e0a4 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.288 1999/07/02 00:11:22 hubertf Exp $
+# $NetBSD: bsd.pkg.mk,v 1.289 1999/07/02 08:37:26 agc Exp $
#
# This file is in the public domain.
#
@@ -2181,7 +2181,8 @@ depend:
tags:
.endif
-# if automatic manual page compression is done, set it if MANZ is set
+# if automatic manual page compression is done by the package according
+# to MANZ's value, set MANCOMPRESSED if MANZ is set
.if defined(MANCOMPRESSED_IF_MANZ) && defined(MANZ)
MANCOMPRESSED= yes
.endif