Subject: pkg/35037: editors/nvi-m17n: work-directory references check failed
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Ryo HAYASAKA <ryoh@jaist.ac.jp>
List: pkgsrc-bugs
Date: 11/11/2006 14:30:00
>Number:         35037
>Category:       pkg
>Synopsis:       editors/nvi-m17n: work-directory references check failed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 11 14:30:00 +0000 2006
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 4.99.3, pkgsrc-current
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 4.99.3 NetBSD 4.99.3 (BONNIE) #633: Mon Nov 6 23:46:13 JST 2006 ryoh@bonnie.jaist.ac.jp:/usr/src/sys/arch/i386/compile/BONNIE i386
Architecture: i386
Machine: i386
>Description:
Checking for work-directory references fails as follows:

$ make install
...
=> Registering installation for nvi-m17n-1.79.20040401nb1
nvi-m17n-1.79.20040401nb1 requires installed package Canna-lib-3.6pl4nb1
=> Checking for missing run-time search paths in nvi-m17n-1.79.20040401nb1
=> Checking for work-directory references in nvi-m17n-1.79.20040401nb1
ERROR: bin/qregular:    #! /usr/pkgsrc/editors/nvi-m17n/work/.tools/bin/perl
ERROR: bin/regular:     #! /usr/pkgsrc/editors/nvi-m17n/work/.tools/bin/perl
ERROR: *** The above files still have references to the build directory.
ERROR:     This is possibly an error that should be fixed by unwrapping
ERROR:     the files or adding missing tools to the package makefile!
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/editors/nvi-m17n
	
>How-To-Repeat:
	
>Fix:
Index: Makefile
===================================================================
RCS file: /usr/cvsup/pkgsrc/editors/nvi-m17n/Makefile,v
retrieving revision 1.36
diff -d -p -u -r1.36 Makefile
--- Makefile    4 Jan 2006 21:22:06 -0000       1.36
+++ Makefile    11 Nov 2006 14:14:57 -0000
@@ -27,6 +27,9 @@ CONFIGURE_ARGS+=--enable-multibyte --pro
 CONFIGURE_ENV+=        vi_cv_path_shell=${TOOLS_SH:Q}
 USE_TOOLS+=    sh

+CONFIGURE_ENV+=        vi_cv_path_perl=${TOOLS_PATH.perl:Q}
+USE_TOOLS+=    perl:run
+
 CPPFLAGS+=     -DGTAGS

 .include "options.mk"