summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorthorpej <thorpej>1999-08-17 19:02:52 +0000
committerthorpej <thorpej>1999-08-17 19:02:52 +0000
commit2f604005ac95ca01ce8094392d6455f4ae3da640 (patch)
tree22fe8d89ab7cb57ee0d06fc09006e0a0a24bba16 /devel
parent34c14f7a58bdac48651f0bf6b03d8af6809e5b1d (diff)
downloadpkgsrc-2f604005ac95ca01ce8094392d6455f4ae3da640.tar.gz
Use USE_KERBEROS{4,5} to enable the corresponding features in this
package. Still needs a bit more work, as the CVS 1.10 configure script is broken.
Diffstat (limited to 'devel')
-rw-r--r--devel/cvs/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/devel/cvs/Makefile b/devel/cvs/Makefile
index 8c5ad20ce70..519864daafd 100644
--- a/devel/cvs/Makefile
+++ b/devel/cvs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 1999/02/20 22:48:26 hubertf Exp $
+# $NetBSD: Makefile,v 1.21 1999/08/17 19:02:52 thorpej Exp $
#
DISTNAME= cvs-1.10
@@ -11,11 +11,19 @@ HOMEPAGE= http://www.cyclic.com/cvs/info.html
GNU_CONFIGURE= yes
USE_GTEXINFO= yes
-.if exists(/usr/lib/libkrb.a)
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(USE_KERBEROS4)
CONFIGURE_ARGS+= --with-krb4=/usr --enable-encryption
+.else
+CONFIGURE_ARGS+= --with-krb4=no
.endif
-.include "../../mk/bsd.prefs.mk"
+.if defined(USE_KERBEROS5)
+CONFIGURE_ARGS+= --with-gssapi
+.else
+CONFIGURE_ARGS+= --with-gssapi=no
+.endif
.if defined(RCS_LOCALID)
CFLAGS+= -DLOCALID=\"\\\"${RCS_LOCALID}\\\"\"