From fd7b118f38aa1478da8c4a0a0894a28171ae8ab6 Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 2 Jul 1999 08:37:20 +0000 Subject: 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. --- devel/bcc/Makefile | 8 ++------ devel/libscsi/Makefile | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) (limited to 'devel') diff --git a/devel/bcc/Makefile b/devel/bcc/Makefile index 6445d90b94c..25a1f47005c 100644 --- a/devel/bcc/Makefile +++ b/devel/bcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 1999/05/24 20:39:37 tv Exp $ +# $NetBSD: Makefile,v 1.6 1999/07/02 08:37:22 agc Exp $ # FreeBSD Id: Makefile,v 1.6 1996/11/18 11:22:35 asami Exp # @@ -10,10 +10,6 @@ MAINTAINER= tsarna@netbsd.org NOT_FOR_PLATFORM= *-*-alpha # Severe LP64 problems -.include "../../mk/bsd.prefs.mk" - -.ifdef MANZ -MANCOMPRESSED= yes -.endif +MANCOMPRESSED_IF_MANZ= yes .include "../../mk/bsd.pkg.mk" diff --git a/devel/libscsi/Makefile b/devel/libscsi/Makefile index 6b08e81eed3..a4b64faeb5f 100644 --- a/devel/libscsi/Makefile +++ b/devel/libscsi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1998/12/28 02:48:38 tv Exp $ +# $NetBSD: Makefile,v 1.4 1999/07/02 08:37:23 agc Exp $ # DISTNAME= libscsi-1.6 @@ -9,10 +9,6 @@ MAINTAINER= packages@netbsd.org MAKE_ENV= LIBDIR=${PREFIX}/lib MANDIR=${PREFIX}/man NOPIC=1 NOPROFILE=1 -.include "../../mk/bsd.prefs.mk" - -.ifdef MANZ -MANCOMPRESSED= yes -.endif +MANCOMPRESSED_IF_MANZ= yes .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3