Date: Sat, 27 Nov 2004 12:14:18 +0900 (JST) From: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/74440: games/cowsay: a symlinked manpage, no MLINKS Message-ID: <20041127031418.9AC7DF1847@prime.quad.dyndns.org> Resent-Message-ID: <200411270320.iAR3KJ83092451@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 74440 >Category: ports >Synopsis: games/cowsay: a symlinked manpage, no MLINKS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 27 03:20:18 GMT 2004 >Closed-Date: >Last-Modified: >Originator: TAOKA Fumiyoshi >Release: >Organization: >Environment: >Description: games/cowsay installs a symlink to a manpage by itself. There in a line in install.sh, ln -s cowsay.1 $PREFIX/man/man1/cowthink.1 >How-To-Repeat: >Fix: diff -urN cowsay.orig/Makefile cowsay/Makefile --- cowsay.orig/Makefile Fri Mar 7 15:02:44 2003 +++ cowsay/Makefile Sat Nov 27 11:45:17 2004 @@ -19,6 +19,7 @@ NO_BUILD= # defined MAN1= cowsay.1 +MLINKS= cowsay.1 cowthink.1 do-install: cd ${WRKSRC}; ${SH} install.sh ${PREFIX} diff -urN cowsay.orig/files/patch-install.sh cowsay/files/patch-install.sh --- cowsay.orig/files/patch-install.sh Thu Jan 1 09:00:00 1970 +++ cowsay/files/patch-install.sh Sat Nov 27 11:44:46 2004 @@ -0,0 +1,11 @@ +--- install.sh.orig Sat Nov 27 11:40:57 2004 ++++ install.sh Sat Nov 27 11:44:05 2004 +@@ -76,7 +76,7 @@ + mkdir -p $PREFIX/man/man1 || ($mkdir $PREFIX; mkdir $PREFIX/man; mkdir $PREFIX/man/man1) + $usethisperl -p install.pl cowsay.1 > $PREFIX/man/man1/cowsay.1 + chmod a+r $PREFIX/man/man1/cowsay.1 +-ln -s cowsay.1 $PREFIX/man/man1/cowthink.1 ++#ln -s cowsay.1 $PREFIX/man/man1/cowthink.1 + mkdir -p $PREFIX/share/cows || (mkdir $PREFIX; mkdir $PREFIX/share; mkdir $PREFIX/share/cows) + tar -cf - $filelist | (cd $PREFIX/share && tar -xvf -) + set +x diff -urN cowsay.orig/pkg-plist cowsay/pkg-plist --- cowsay.orig/pkg-plist Mon Jul 1 16:32:02 2002 +++ cowsay/pkg-plist Sat Nov 27 11:40:21 2004 @@ -1,6 +1,5 @@ bin/cowsay bin/cowthink -man/man1/cowthink.1 share/cows/beavis.zen.cow share/cows/bong.cow share/cows/box.cow >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041127031418.9AC7DF1847>