Subject: pkg/23541: mail/nmh uses 'basename' instead of '${BASENAME}'
To: None <gnats-bugs@gnats.netbsd.org>
From: None <snj@pobox.com>
List: netbsd-bugs
Date: 11/23/2003 07:14:50
>Number: 23541
>Category: pkg
>Synopsis: mail/nmh uses 'basename' instead of '${BASENAME}'
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 23 07:15:04 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Soren Jacobsen
>Release: NetBSD 1.6.1
>Organization:
>Environment:
pkgsrc as of 11/20/2003.
>Description:
See synopsis.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/nmh/Makefile,v
retrieving revision 1.52
diff -u -r1.52 Makefile
--- Makefile 2003/07/26 18:25:06 1.52
+++ Makefile 2003/11/23 07:13:41
@@ -73,7 +73,7 @@
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
for f in `${GREP} '^${DOCDIR}/' ${PKGDIR}/PLIST`; do \
- ${INSTALL_DATA} ${WRKSRC}/`basename $$f` ${PREFIX}/${DOCDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/`${BASENAME} $$f` ${PREFIX}/${DOCDIR}; \
done
${INSTALL_DATA} ${FILESDIR}/mhn.defaults.dist ${PREFIX}/etc/nmh
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
>Release-Note:
>Audit-Trail:
>Unformatted: