summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-06-07 16:21:24 +0000
committertron <tron@pkgsrc.org>2001-06-07 16:21:24 +0000
commit3cf55fa68a3e50f2f9d5656bff462c60d920476b (patch)
tree5b94ad54a73ca49dcb9644d8761bc3bf21ba8977 /mk
parentf97c2600f4c74ef658673d43856e6001560cd81b (diff)
downloadpkgsrc-3cf55fa68a3e50f2f9d5656bff462c60d920476b.tar.gz
Fix typo in "IMAKE_MAN_CMD" for Solaris.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 1eff9832e44..63721702405 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.751 2001/06/07 15:40:15 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.752 2001/06/07 16:21:24 tron Exp $
#
# This file is in the public domain.
#
@@ -3396,7 +3396,7 @@ MANZ_NAWK_CMD=
.ifdef USE_IMAKE
IMAKE_MAN_CMD= ${AWK} '/^([^\/]*\/)*man\/([^\/]*\/)?cat[1-9ln]\/.*0(\.gz)?$$/ { \
sect = $$0; n = match(sect, "/cat[1-9ln]"); \
- sect = sprintf(".%sx", substr(sect, n + 4, 1)); \
+ sect = sprintf(".%s", substr(sect, n + 4, 1)); \
s = $$0; sub("/cat", "/man", s); sub("\.0(\.gz)?$$", sect, s); \
if (match($$0, "\.gz$$") > 0) { ext = ".gz";} else { ext = "";} \
$$0 = sprintf("%s%s", s, ext); \