Subject: pkg/18951: [net/p5-ispman] installation fails
To: None <gnats-bugs@gnats.netbsd.org>
From: Ryo HAYASAKA <ryoh@jaist.ac.jp>
List: netbsd-bugs
Date: 11/06/2002 16:53:33
>Number:         18951
>Category:       pkg
>Synopsis:       [net/p5-ispman] installation fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 05 23:54:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 1.6K
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 1.6K NetBSD 1.6K (BONNIE) #330: Tue Nov 5 21:17:26 JST 2002 ryoh@bonnie.jaist.ac.jp:/usr/src/sys/arch/i386/compile/BONNIE i386
Architecture: i386
Machine: i386
>Description:
p5-ispman fails to install, because of wrong PLIST_SRC.
	
>How-To-Repeat:
# make install
===> do-su-install [p5-ispman-0.5] ===> Installing for p5-ispman-0.5
Writing /usr/pkg/lib/perl5/site_perl/5.8.0/i386-netbsd/auto/ISPMan/.packlist
Appending installation info to /usr/pkg/lib/perl5/5.8.0/i386-netbsd/perllocal.pod
install -c -o root -g wheel -m 444 /usr/pkgsrc/net/p5-ispman/work.i386/ispman/Modules/ISPMan/../IO-stringy-1.212_patched/lib/IO/Scalar.pm  /usr/pkg/`/usr/bin/tail -n 1 /usr/pkgsrc/net/p5-ispman/work.i386/PLIST`
install: /usr/pkg/usr/pkg/lib/perl5/site_perl/5.8.0/IO/ScalarPatched.pm: open: No such file or directory
*** Error code 1
	
>Fix:
Index: Makefile
===================================================================
RCS file: /usr/cvsup/pkgsrc/net/p5-ispman/Makefile,v
retrieving revision 1.7
diff -d -p -u -r1.7 Makefile
--- Makefile    2002/10/27 20:48:59     1.7
+++ Makefile    2002/11/06 07:40:48
@@ -41,11 +41,11 @@ post-build:
        ${ECHO} >> ${PLIST_SRC}                                         \
        "`${GREP} ^INSTALLSITELIB                                       \
           ${WRKSRC}/../IO-stringy-1.212_patched/Makefile               \
-          | ${CUT} -d/ -f2-`/IO/ScalarPatched.pm"
+          | ${CUT} -d ' ' -f 3`/IO/ScalarPatched.pm"
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/../IO-stringy-1.212_patched/lib/IO/Scalar.pm \
-               ${PREFIX}/`${TAIL} -n 1 ${PLIST_SRC}`
+               `${TAIL} -n 1 ${PLIST_SRC}`
 
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"
	
>Release-Note:
>Audit-Trail:
>Unformatted: