summaryrefslogtreecommitdiff
path: root/net/zephyr
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>1999-09-14 02:32:21 +0000
committerkim <kim@pkgsrc.org>1999-09-14 02:32:21 +0000
commitd0e9933400b1f4eb40f5031d352de20ecab382d6 (patch)
treec571b85d580b9bea0de042a463ee35bc7651c0fe /net/zephyr
parentc1ddcbed2174f609d995d54a7966f951e02a1a8d (diff)
downloadpkgsrc-d0e9933400b1f4eb40f5031d352de20ecab382d6.tar.gz
Change how Kerberos support is enabled in pkgsrc.
Quick guide for compiling packages: - set KERBEROS=4 or KERBEROS=5 in /etc/mk.conf Quick guide for configuring Kerberos support in a package Makefile: - test for KERBEROS value and enable the appropriate version with CONFIGURE_ARGS or other means and set USE_KERBEROS=yes - make sure to disable Kerberos support otherwise (especially if using configure, which might automatically detect it) - BUILD_DEFS and RESTRICTED are set automatically in bsd.pkg.mk when USE_KERBEROS=yes is set
Diffstat (limited to 'net/zephyr')
-rw-r--r--net/zephyr/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/zephyr/Makefile b/net/zephyr/Makefile
index 498b89aaef0..7ad0a5ed38b 100644
--- a/net/zephyr/Makefile
+++ b/net/zephyr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 1999/08/18 09:28:02 agc Exp $
+# $NetBSD: Makefile,v 1.17 1999/09/14 02:32:26 kim Exp $
#
DISTNAME= zephyr-2.0.4
@@ -8,14 +8,14 @@ MASTER_SITES= ftp://athena-dist.mit.edu/pub/ATHENA/zephyr/dist/
MAINTAINER= mycroft@netbsd.org
HOMEPAGE= http://web.mit.edu/olh/Zephyr/index.html
-BUILD_DEFS+= USE_KERBEROS4
-
.include "../../mk/bsd.prefs.mk"
-.if defined(USE_KERBEROS4)
+.if defined(KERBEROS) && ${KERBEROS} == 4
+USE_KERBEROS= yes
CONFIGURE_ARGS+="--with-krb4"
CONFIGURE_ENV+= CPPFLAGS=-I/usr/include/kerberosIV
-RESTRICTED= uses Kerberos encryption code
+.else
+CONFIGURE_ARGS+="--without-krb4"
.endif
USE_X11= yes