summaryrefslogtreecommitdiff
path: root/plan9
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 /plan9
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 'plan9')
-rw-r--r--plan9/sam/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/plan9/sam/Makefile b/plan9/sam/Makefile
index 4119d5809d7..127a5a6f00e 100644
--- a/plan9/sam/Makefile
+++ b/plan9/sam/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 1999/04/01 14:07:56 agc Exp $
+# $NetBSD: Makefile,v 1.10 1999/07/02 08:37:28 agc Exp $
# FreeBSD Id: Makefile,v 1.3 1996/11/12 02:19:40 obrien Exp
#
@@ -13,8 +13,9 @@ MAINTAINER= packages@netbsd.org
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}
-OPSYS!= uname -s
-.if (${OPSYS} == "NetBSD")
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
MANCOMPRESSED= yes
.endif