summaryrefslogtreecommitdiff
path: root/devel/rcs
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-11-12 03:06:31 +0000
committerwiz <wiz@pkgsrc.org>2001-11-12 03:06:31 +0000
commitdea8a639687aaebbd2e9f283bfcc594c5202d2d8 (patch)
treef8c203bd553fa403daf30e14488bcb2046252fbf /devel/rcs
parente4b0dd4ad70132d147dea76e26d762972eee1a5d (diff)
downloadpkgsrc-dea8a639687aaebbd2e9f283bfcc594c5202d2d8.tar.gz
Darwin "support", by Yuji Yamano from pkg/14546.
Diffstat (limited to 'devel/rcs')
-rw-r--r--devel/rcs/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/rcs/Makefile b/devel/rcs/Makefile
index 7854b972058..6428e299d88 100644
--- a/devel/rcs/Makefile
+++ b/devel/rcs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2001/10/12 22:34:21 veego Exp $
+# $NetBSD: Makefile,v 1.10 2001/11/12 03:06:31 wiz Exp $
#
DISTNAME= rcs-5.7
@@ -10,13 +10,17 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/rcs/rcs.html
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/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
DEPENDS= diffutils-2.7:../../devel/diffutils
+CONFIGURE_ARGS+= --with-diffutils=gdiff
+.endif
GNU_CONFIGURE= yes
CONFIGURE_ENV= PATH=${LOCALBASE}/bin:$PATH
-CONFIGURE_ARGS+= --with-diffutils=gdiff
post-install:
${RM} -f ${PREFIX}/bin/rcslog