Subject: security/uvscan install error
To: None <tech-pkg@NetBSD.org>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: tech-pkg
Date: 09/25/2005 08:13:17
Krister Walfridsson's bulk build uncovers a problem in the installation
of this package.  First, here is the error:

for file in liblnxfv.so.4 liblnxfv.so;
do                        /bin/rm
-f /usr/pkg/emul/linux/usr/local/lib/${file};   /bin/ln
-s /usr/pkg/libexec/uvscan/${file}                              /usr/pkg/emul/linux/usr/local/lib;
done ln: /usr/pkg/emul/linux/usr/local/lib: No such file or directory
ln: /usr/pkg/emul/linux/usr/local/lib: No such file or directory ***
Error code 1

I think that this should fix it.  Anyone have an issue with this?

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/uvscan/Makefile,v
retrieving revision 1.28
diff -u -r1.28 Makefile
--- Makefile    19 Aug 2005 18:12:38 -0000      1.28
+++ Makefile    25 Sep 2005 12:12:50 -0000
@@ -52,6 +52,7 @@
        ${INSTALL_MAN} ${WRKSRC}/uvscan.1 ${PREFIX}/man/man1

        ${INSTALL_PROGRAM_DIR} ${UVSCANDIR}
+       ${INSTALL_PROGRAM_DIR} ${PREFIX}/emul/linux/usr/local
        ${INSTALL_SCRIPT} ${WRKSRC}/uvscan ${UVSCANDIR}
        ${RM} -f ${PREFIX}/bin/uvscan
        ${LN} -sf ../${UVSCANDIR:S/${PREFIX}\///}/uvscan
${PREFIX}/bin/uvscan


-- 
D'Arcy J.M. Cain <darcy@NetBSD.org>
http://www.NetBSD.org/