summaryrefslogtreecommitdiff
path: root/devel/cvs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cvs/Makefile')
-rw-r--r--devel/cvs/Makefile19
1 files changed, 18 insertions, 1 deletions
diff --git a/devel/cvs/Makefile b/devel/cvs/Makefile
index b89f15d15c1..666540392a8 100644
--- a/devel/cvs/Makefile
+++ b/devel/cvs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2001/03/04 01:08:01 assar Exp $
+# $NetBSD: Makefile,v 1.39 2001/04/13 05:33:16 itojun Exp $
#
DISTNAME= cvs-1.11
@@ -7,6 +7,10 @@ CATEGORIES= devel
MASTER_SITES= ftp://ftp.cvshome.org/pub/${DISTNAME}/ \
${MASTER_SITE_GNU:=cvs/}
+PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
+PATCHFILES= cvs-1.11-v6-20010413.diff.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= tv@netbsd.org
HOMEPAGE= http://www.cvshome.org/
COMMENT= Concurrent Versions System
@@ -14,8 +18,12 @@ COMMENT= Concurrent Versions System
GNU_CONFIGURE= yes
USE_GTEXINFO= yes
+BUILD_DEPENDS+= autoconf-*:../../devel/autoconf
+
.include "../../mk/bsd.prefs.mk"
+BUILD_DEFS+= USE_INET6
+
.if (${OPSYS} == "SunOS")
DEPENDS+= zlib-*:../../devel/zlib
CFLAGS+= -I${PREFIX}/include # zlib.h
@@ -31,8 +39,17 @@ pre-fetch:
@${ECHO} RCS_LOCALID is now replaced by the tag variable in CVSROOT/config.
.endif
+.if ${USE_INET6} == "YES"
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
CONFIGURE_ENV+= perl_path=${PERL5}
INFO_FILES= cvs.info cvsclient.info
+post-patch:
+ (cd ${WRKSRC}; autoreconf)
+
.include "../../mk/bsd.pkg.mk"