pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/wwwcount Use ln -s to install a symlink, instead o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e8087052fbd
branches:  trunk
changeset: 461954:5e8087052fbd
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Wed Sep 24 10:33:15 2003 +0000

description:
Use ln -s to install a symlink, instead of install -s.  Fixes problems on
SunOS.  From Jonathan Perkin in PR pkg/22928.

diffstat:

 www/wwwcount/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d11095c333fe -r 5e8087052fbd www/wwwcount/Makefile
--- a/www/wwwcount/Makefile     Wed Sep 24 10:16:19 2003 +0000
+++ b/www/wwwcount/Makefile     Wed Sep 24 10:33:15 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2003/07/17 22:56:08 grant Exp $
+# $NetBSD: Makefile,v 1.8 2003/09/24 10:33:15 jmmv Exp $
 # FreeBSD: Makefile,v 1.12 1998/09/28 18:02:05 smace Exp
 
 DISTNAME=       wwwcount2.5
@@ -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



Home | Main Index | Thread Index | Old Index