pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Do not rely on MANINSTALL beeing set (it's always s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c08eaa186015
branches:  trunk
changeset: 461402:c08eaa186015
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Sep 15 16:14:16 2003 +0000

description:
Do not rely on MANINSTALL beeing set (it's always set now) to do manpage
automatic handling.  Fixes part of PR pkg/22562 by reed%reedmedia.net@localhost.

diffstat:

 mk/bsd.pkg.mk |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r c15e860ecac0 -r c08eaa186015 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Mon Sep 15 16:12:33 2003 +0000
+++ b/mk/bsd.pkg.mk     Mon Sep 15 16:14:16 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1285 2003/09/15 10:27:12 dmcmahill Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1286 2003/09/15 16:14:16 jmmv Exp $
 #
 # This file is in the public domain.
 #
@@ -4762,7 +4762,6 @@
 .  endif # MANZ
 .endif
 
-.if defined(MANINSTALL)
 _MANINSTALL_CMD= ${AWK} 'BEGIN{                                                \
                start="^([^\/]*\/)*man\/([^\/]*\/)?";                   \
                end="[1-9ln]"; }                                        \
@@ -4771,9 +4770,6 @@
                if (!"${MANINSTALL:Mcatinstall}" &&                     \
                                match($$0, start "cat" end)) {next;}    \
                print $$0; }' |
-.else
-_MANINSTALL_CMD=
-.endif
 
 .if defined(USE_IMAKE) && ${_PREFORMATTED_MAN_DIR} == "man"
 _IMAKE_MAN_CMD=        ${AWK} '/^([^\/]*\/)*man\/([^\/]*\/)?cat[1-9ln]\/.*0(\.gz)?$$/ { \



Home | Main Index | Thread Index | Old Index