pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/31978: rcsdiff on devel/rcs does not work on Solaris 10
>Number: 31978
>Category: pkg
>Synopsis: rcsdiff on devel/rcs does not work on Solaris 10
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 02 11:17:00 +0000 2005
>Originator: Kakiuchi Masatoshi
>Release: pkgsrc as of 2005-11-01
>Organization:
NAIST
>Environment:
SunOS grover-test04 5.10 Generic_118822-19 sun4u sparc SUNW,Sun-Blade-100
>Description:
rcsdiff on devel/rcs does not work on Solaris 10.
devel/rcs depends on diffutils>=2.7:../../devel/diffutils, but rcsdiff uses
/bin/diff.
>How-To-Repeat:
Build devel/rcs and run rcsdiff on Solaris 10.
$ rcsdiff foo
===================================================================
RCS file: foo,v
retrieving revision 1.1
diff -r1.1 foo
/bin/diff: illegal option -- L
usage: diff [-bitw] [-c | -e | -f | -h | -n | -u] file1 file2
diff [-bitw] [-C number | -U number] file1 file2
diff [-bitw] [-D string] file1 file2
diff [-bitw] [-c | -e | -f | -h | -n | -u] [-l] [-r] [-s] [-S name]
directory1 directory2
rcsdiff: foo: diff failed
>Fix:
Build with following patch and it seems to work:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/rcs/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile 31 Oct 2005 19:59:52 -0000 1.18
+++ Makefile 2 Nov 2005 09:50:37 -0000
@@ -13,6 +13,7 @@
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
DEPENDS= diffutils>=2.7:../../devel/diffutils
+TOOLS_PLATFORM.diff=
CONFIGURE_ARGS+= --with-diffutils=gdiff
.endif
Home |
Main Index |
Thread Index |
Old Index