Subject: pkg/23538: devel/ncurses uses 'basename' instead of '${BASENAME}'
To: None <gnats-bugs@gnats.netbsd.org>
From: None <snj@pobox.com>
List: netbsd-bugs
Date: 11/23/2003 06:43:03
>Number:         23538
>Category:       pkg
>Synopsis:       devel/ncurses 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 06:44:00 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/devel/ncurses/Makefile,v
retrieving revision 1.51
diff -u -r1.51 Makefile
--- Makefile	2003/08/02 04:24:58	1.51
+++ Makefile	2003/11/23 06:40:29
@@ -52,10 +52,10 @@
 	cd ${WRKSRC}/man;					\
 	${RM} -f ${CURSES_NO_MAN};				\
 	for f in *.1m; do					\
-		${MV} -f $${f} `basename $${f} .1m`.1; 	\
+		${MV} -f $${f} `${BASENAME} $${f} .1m`.1; 	\
 	done;							\
 	for f in *.3x; do					\
-		${MV} -f $${f} `basename $${f} .3x`.3; 	\
+		${MV} -f $${f} `${BASENAME} $${f} .3x`.3; 	\
 	done
 .if ${OPSYS} == "SunOS"
 	${MV} ${TERMINFO_SRC} ${TERMINFO_SRC}.old
>Release-Note:
>Audit-Trail:
>Unformatted: