summaryrefslogtreecommitdiff
path: root/devel/cvs-current
diff options
context:
space:
mode:
authorkim <kim>1999-09-13 14:01:29 +0000
committerkim <kim>1999-09-13 14:01:29 +0000
commit75b6e00b3d737b7f1f3f1da105b2d7b8098d141f (patch)
tree5a341a157386fd287d5ec4b56a6528b666105eb2 /devel/cvs-current
parent7ba5e1e1eefb3e6bf88751abad7eaec36ae9e925 (diff)
downloadpkgsrc-75b6e00b3d737b7f1f3f1da105b2d7b8098d141f.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