NetBSD Problem Report #23541

Received: (qmail 8632 invoked by uid 605); 23 Nov 2003 07:14:53 -0000
Message-Id: <20031123071450.28600.qmail@blef.org>
Date: 23 Nov 2003 07:14:50 -0000
From: snj@pobox.com
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: snj@pobox.com
To: gnats-bugs@gnats.netbsd.org
Subject: mail/nmh uses 'basename' instead of '${BASENAME}'
X-Send-Pr-Version: 3.95

>Number:         23541
>Category:       pkg
>Synopsis:       mail/nmh uses 'basename' instead of '${BASENAME}'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    salo
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 23 07:15:04 +0000 2003
>Closed-Date:    Sun Nov 23 07:18:33 +0000 2003
>Last-Modified:  Sun Nov 23 07:19:00 +0000 2003
>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:
State-Changed-From-To: open->closed 
State-Changed-By: salo 
State-Changed-When: Sun Nov 23 07:18:19 UTC 2003 
State-Changed-Why:  
fixed, thanks. 


Responsible-Changed-From-To: pkg-manager->salo 
Responsible-Changed-By: salo 
Responsible-Changed-When: Sun Nov 23 07:18:19 UTC 2003 
Responsible-Changed-Why:  

From: Lubomir Sedlacik <salo@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/23541 CVS commit: pkgsrc/mail/nmh
Date: Sun, 23 Nov 2003 07:18:15 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	salo
 Date:		Sun Nov 23 07:18:15 UTC 2003

 Modified Files:
 	pkgsrc/mail/nmh: Makefile

 Log Message:
 basename -> ${BASENAME}, from Soren Jacobsen via PR pkg/23541.


 To generate a diff of this commit:
 cvs rdiff -r1.52 -r1.53 pkgsrc/mail/nmh/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.