Subject: pkg/14546: rcs pkg is not available for Darwin
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/11/2001 17:00:56
>Number:         14546
>Category:       pkg
>Synopsis:       rcs pkg is not available for Darwin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 11 17:01:00 PST 2001
>Originator:     Yuji Yamano
>Release:        2001/11/10 pkgsrc via cvs and agc's bootstrap script
rwin localhost 1.4 Darwin Kernel Version 1.4: Sun Sep  9 15:39:59 PDT 2001; root:xnu/xnu-201.obj~1/RELEASE_PPC  Power Macintosh powerpc

rcs pkg is not available for Darwin.

Just type bmake on on Darwin.

Add Darwin-*-* to ONLY_FOR_PLATFORM.
Darwin has GNU diff, so don't install diffutils.

--- Makefile.orig	Sun Nov 11 11:02:33 2001
+++ Makefile	Sun Nov 11 18:47:47 2001
@@ -10,13 +10,17 @@
 COMMENT=		GNU Revision Control System - version control software
-ONLY_FOR_PLATFORM=	SunOS-*-*	# in NetBSD base system
+ONLY_FOR_PLATFORM=	SunOS-*-* Darwin-*-*	# in NetBSD base system
+.include "../../mk/"
+.if ${OPSYS} == "SunOS"
 DEPENDS=		diffutils-2.7:../../devel/diffutils
+CONFIGURE_ARGS+=	--with-diffutils=gdiff
-CONFIGURE_ARGS+=	--with-diffutils=gdiff
 	${RM} -f ${PREFIX}/bin/rcslog