Subject: pkg/22928: www/wwwcount do-install relies on BSD install(1) semantics
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jonathan@perkin.org.uk>
List: netbsd-bugs
Date: 09/24/2003 10:19:21
>Number: 22928
>Category: pkg
>Synopsis: www/wwwcount do-install relies on BSD install(1) semantics
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 24 10:20:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Jonathan Perkin
>Release: N/A
>Organization:
British Broadcasting Corporation
>Environment:
SunOS build1 5.9 Generic_112233-01 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
>Description:
www/wwwcount/Makefile relies on BSD install's -l option. Make this
more portable so that we can install this package on non-BSD systems.
>How-To-Repeat:
/usr/ucb/install: illegal option -- l
usage: install [-cs] [-g group] [-m mode] [-o owner] file ... destination
install -d [-g group] [-m mode] [-o owner] dir
*** Error code 1
>Fix:
http://www.perkin.org.uk/projects/netbsd/wwwcount.diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/wwwcount/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile 2003/07/17 22:56:08 1.7
+++ Makefile 2003/09/24 10:18:00
@@ -24,7 +24,7 @@
${INSTALL_MAN_DIR} ${PREFIX}/share/doc/wwwcount
${INSTALL_MAN} ${WRKSRC}/docs/blues.gif ${PREFIX}/share/doc/wwwcount
${INSTALL_MAN} ${WRKSRC}/docs/Count.html ${PREFIX}/share/doc/wwwcount
- ${INSTALL} -l rs ${PREFIX}/share/doc/wwwcount/Count.html ${PREFIX}/share/doc/wwwcount/index.html
+ (cd ${PREFIX}/share/doc/wwwcount && ${LN} -s Count.html index.html)
${INSTALL_MAN} ${WRKSRC}/docs/Count2_5-ex.html ${PREFIX}/share/doc/wwwcount
${INSTALL_MAN} ${WRKSRC}/docs/Count_Changelog.html ${PREFIX}/share/doc/wwwcount
${INSTALL_MAN} ${WRKSRC}/docs/Count_FAQ.html ${PREFIX}/share/doc/wwwcount
>Release-Note:
>Audit-Trail:
>Unformatted: