summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authoragc <agc>1999-07-02 08:37:20 +0000
committeragc <agc>1999-07-02 08:37:20 +0000
commitb679393db5497be44aec2d03789089a77bd46d07 (patch)
tree362c5b8a0071e5142cca0f9817f6405d9085751b /emulators
parentbd4153fe1123d472d594def40fe34b5e435ee146 (diff)
downloadpkgsrc-b679393db5497be44aec2d03789089a77bd46d07.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 'emulators')
-rw-r--r--emulators/doscmd/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/emulators/doscmd/Makefile b/emulators/doscmd/Makefile
index c50a16f94e3..4900df95950 100644
--- a/emulators/doscmd/Makefile
+++ b/emulators/doscmd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1999/05/24 20:39:40 tv Exp $
+# $NetBSD: Makefile,v 1.5 1999/07/02 08:37:23 agc Exp $
#
DISTNAME= doscmd-19960502-2
@@ -14,11 +14,7 @@ WRKSRC= ${WRKDIR}/doscmd
MAKE_ENV= X11BASE=${X11BASE}
-.include "../../mk/bsd.prefs.mk"
-
-.ifdef MANZ
-MANCOMPRESSED=
-.endif
+MANCOMPRESSED_IF_MANZ= yes
do-configure:
@cd ${WRKSRC} && \