summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorthorpej <thorpej@pkgsrc.org>1999-08-17 19:02:52 +0000
committerthorpej <thorpej@pkgsrc.org>1999-08-17 19:02:52 +0000
commit8fc74cd7e7a9b18380fb81cee3cd4d5232bffcdc (patch)
tree22fe8d89ab7cb57ee0d06fc09006e0a0a24bba16 /devel
parent1924000108170e9d1e644ab644bb1a459d7ebf65 (diff)
downloadpkgsrc-8fc74cd7e7a9b18380fb81cee3cd4d5232bffcdc.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}\\\"\"