414df668ac
the "configure.in" isn't modified by the IPv6 patch.
55 lines
1.1 KiB
Makefile
55 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.42 2001/04/17 07:49:46 tron Exp $
|
|
#
|
|
|
|
DISTNAME= cvs-1.11
|
|
PKGNAME= ${DISTNAME}nb2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.cvshome.org/pub/${DISTNAME}/ \
|
|
${MASTER_SITE_GNU:=cvs/}
|
|
|
|
MAINTAINER= tv@netbsd.org
|
|
HOMEPAGE= http://www.cvshome.org/
|
|
COMMENT= Concurrent Versions System
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GTEXINFO= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
.if (${OPSYS} == "SunOS")
|
|
DEPENDS+= zlib-*:../../devel/zlib
|
|
CFLAGS+= -I${PREFIX}/include # zlib.h
|
|
.else
|
|
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
|
|
PATCHFILES= cvs-1.11-v6-20010413.diff.gz
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
BUILD_DEPENDS+= autoconf-*:../../devel/autoconf
|
|
|
|
.if ${USE_INET6} == "YES"
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
post-patch:
|
|
(cd ${WRKSRC}; autoreconf)
|
|
.endif
|
|
|
|
.if defined(KERBEROS)
|
|
CONFIGURE_ARGS+= --with-krb4=/usr --enable-encryption
|
|
CONFIGURE_ARGS+= --with-gssapi=/usr
|
|
.endif
|
|
|
|
.if defined(RCS_LOCALID)
|
|
pre-fetch:
|
|
@${ECHO} RCS_LOCALID is now replaced by the tag variable in CVSROOT/config.
|
|
.endif
|
|
|
|
CONFIGURE_ENV+= perl_path=${PERL5}
|
|
|
|
INFO_FILES= cvs.info cvsclient.info
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|