Subject: pkg/22236: Fix devel/rcs on SunOS
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jonathan@perkin.org.uk>
List: netbsd-bugs
Date: 07/23/2003 15:08:16
>Number:         22236
>Category:       pkg
>Synopsis:       Fix devel/rcs on SunOS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 23 15:09:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Perkin
>Release:        N/A
>Organization:
British Broadcasting Corporation
>Environment:
SunOS build0 5.8 Generic_108528-15 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
>Description:
devel/rcs depends explicity on diffutils-2.7 in the SunOS case, which has
since been upgraded.
>How-To-Repeat:
--<jonp@build0>-</home/jonp/src/pkgsrc/devel/rcs>--
-% pkg_info | grep diffutils
diffutils-2.8.1     GNU diff utilities - find the differences between files
--<jonp@build0>-</home/jonp/src/pkgsrc/devel/rcs>--
-% bmake
===> Checking for vulnerabilities in rcs-5.7nb1
=> Checksum OK for rcs-5.7.tar.gz.
===> Extracting for rcs-5.7nb1
===> Required package diffutils-2.7: NOT found
===> Verifying reinstall for ../../devel/diffutils
>Fix:
http://www.perkin.org.uk/projects/netbsd/rcs.patch

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/rcs/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	2003/07/17 21:33:33	1.13
+++ Makefile	2003/07/23 15:01:41
@@ -15,7 +15,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "SunOS"
-DEPENDS=		diffutils-2.7:../../devel/diffutils
+DEPENDS=		diffutils>=2.7:../../devel/diffutils
 CONFIGURE_ARGS+=	--with-diffutils=gdiff
 .endif
>Release-Note:
>Audit-Trail:
>Unformatted: