summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthorpej <thorpej>1999-08-17 19:02:52 +0000
committerthorpej <thorpej>1999-08-17 19:02:52 +0000
commit76d2f3231cf4b9a3ece2be1274c0fb40d8d50228 (patch)
tree22fe8d89ab7cb57ee0d06fc09006e0a0a24bba16
parent16f398197b4eea3761eb8bb7c5659d21f313b430 (diff)
downloadpkgsrc-76d2f3231cf4b9a3ece2be1274c0fb40d8d50228.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.
-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}\\\"\"