summaryrefslogtreecommitdiff
path: root/devel/cvs-current
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>1999-09-13 14:01:29 +0000
committerkim <kim@pkgsrc.org>1999-09-13 14:01:29 +0000
commitc73568cbc7503ca68644e37f2a559d249af4079e (patch)
tree5a341a157386fd287d5ec4b56a6528b666105eb2 /devel/cvs-current
parentc00d43f70ec2bee3e9b8a3578a4095ab0d76882f (diff)
downloadpkgsrc-c73568cbc7503ca68644e37f2a559d249af4079e.tar.gz
Support Kerberos.
Diffstat (limited to 'devel/cvs-current')
-rw-r--r--devel/cvs-current/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/devel/cvs-current/Makefile b/devel/cvs-current/Makefile
index 39f0301b24b..04acfd0aadd 100644
--- a/devel/cvs-current/Makefile
+++ b/devel/cvs-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1999/08/18 09:04:17 agc Exp $
+# $NetBSD: Makefile,v 1.3 1999/09/13 14:01:29 kim Exp $
#
DISTNAME= cvs-1.10.6
@@ -13,12 +13,20 @@ USE_GTEXINFO= yes
BUILD_DEFS+= USE_KERBEROS4 USE_KERBEROS5 RCS_LOCALID
-#.if exists(/usr/lib/libkrb.a)
-#CONFIGURE_ARGS+= --with-krb4=/usr --enable-encryption
-#.endif
-
.include "../../mk/bsd.prefs.mk"
+.if defined(USE_KERBEROS4)
+CONFIGURE_ARGS+= --with-krb4=/usr --enable-encryption
+.else
+CONFIGURE_ARGS+= --with-krb4=no
+.endif
+
+.if defined(USE_KERBEROS5)
+CONFIGURE_ARGS+= --with-gssapi
+.else
+CONFIGURE_ARGS+= --with-gssapi=no
+.endif
+
.if defined(RCS_LOCALID)
CFLAGS+= -DLOCALID=\"\\\"${RCS_LOCALID}\\\"\"
.endif