Subject: pkg/18603: mule-ucs broken
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hackerb9@wongs.net>
List: netbsd-bugs
Date: 10/09/2002 14:56:51
>Number:         18603
>Category:       pkg
>Synopsis:       mule-ucs pkg does not install
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 09 14:58:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Charlie Root
>Release:        NetBSD 1.6
>Organization:
	
>Environment:
	
	
System: NetBSD muhaqqaq 1.6 NetBSD 1.6 (DAVIDWONG) #1: Sun Sep 29 05:35:30 PDT 2002 root@laptop.davidwong.com:/usr/src/sys/arch/i386/compile/DAVIDWONG i386
Architecture: i386
Machine: i386
>Description:
The Makefile for editors/mule-ucs is broken. The do-install target
uses a for loop that assumes CWD is ${WRKSRC}/lisp. This causes make
to die with an error when trying to 'make install'.

>How-To-Repeat:
cd /usr/pkgsrc/editors/mule-ucs
make install

>Fix:

--- Makefile.~1.2.~	Sat Oct  5 03:11:45 2002
+++ Makefile	Wed Oct  9 14:50:26 2002
@@ -22,9 +22,8 @@
 
 do-install:
 	${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/mule-ucs
-	for f in ChangeLog README* *.txt *.el *.elc *.txt; do \
-		${INSTALL_DATA} ${WRKSRC}/lisp/$$f \
-		    ${EMACS_LISPPREFIX}/mule-ucs; \
+	for f in ${WRKSRC}/lisp/ChangeLog ${WRKSRC}/lisp/README* ${WRKSRC}/lisp/*.txt ${WRKSRC}/lisp/*.el ${WRKSRC}/lisp/*.elc ${WRKSRC}/lisp/*.txt; do \
+		${INSTALL_DATA} $$f ${EMACS_LISPPREFIX}/mule-ucs; \
 	done
 	${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/mule-ucs/big5conv
 	${INSTALL_DATA} ${WRKSRC}/lisp/big5conv/* \

>Release-Note:
>Audit-Trail:
>Unformatted: