diff options
author | tron <tron@pkgsrc.org> | 2001-06-07 16:21:24 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-06-07 16:21:24 +0000 |
commit | 3cf55fa68a3e50f2f9d5656bff462c60d920476b (patch) | |
tree | 5b94ad54a73ca49dcb9644d8761bc3bf21ba8977 /mk | |
parent | f97c2600f4c74ef658673d43856e6001560cd81b (diff) | |
download | pkgsrc-3cf55fa68a3e50f2f9d5656bff462c60d920476b.tar.gz |
Fix typo in "IMAKE_MAN_CMD" for Solaris.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
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); \ |