diff options
author | reed <reed> | 2005-10-06 15:25:47 +0000 |
---|---|---|
committer | reed <reed> | 2005-10-06 15:25:47 +0000 |
commit | 3dc34007ab8b61bf1f7f3ad7642654ceb8904517 (patch) | |
tree | c859634027496edfcd62c17956ffb0ff6339f633 /mk | |
parent | 97560db2318aaa623e799f5c0f062280729a575c (diff) | |
download | pkgsrc-3dc34007ab8b61bf1f7f3ad7642654ceb8904517.tar.gz |
For print-PLIST generation, make sure that ${PKGMANDIR} becomes "man".
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index d3bb89b44fc..7c65db03ab0 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1725 2005/10/04 20:50:49 seb Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1726 2005/10/06 15:25:47 reed Exp $ # # This file is in the public domain. # @@ -4039,6 +4039,7 @@ _PRINT_PLIST_AWK_SUBST+= \ gsub(/${PKGNAME_NOREV}/, "$${PKGNAME}"); \ gsub(/${PKGVERSION:S/./\./g:C/nb[0-9]*$$//}/, "$${PKGVERSION}");\ gsub(/${PKGLOCALEDIR}\/locale/, "$${PKGLOCALEDIR}/locale"); \ + gsub("^${PKGMANDIR}\/", "man/"); \ } _PRINT_PLIST_AWK_IGNORE= ($$0 ~ /emul\/linux\/proc/) @@ -4169,6 +4170,7 @@ print-PLIST: /emul\/linux\/proc/ { next; } \ /${PREFIX:S|/|\\/|g}\/\.$$/ { next; } \ { sub("${PREFIX}/\\\\./", ""); } \ + { sub("^${PKGMANDIR}/", "man/"); } \ ${_PRINT_PLIST_COMMON_DIRS}'` ; \ do \ if [ `${LS} -la ${PREFIX}/$$i | ${WC} -l` = 3 ]; then \ |