summaryrefslogtreecommitdiff
path: root/net/radius
diff options
context:
space:
mode:
authorkim <kim>1999-09-14 02:32:21 +0000
committerkim <kim>1999-09-14 02:32:21 +0000
commit5fa4e1496daea5eeeec97d5966752319e32fd254 (patch)
treec571b85d580b9bea0de042a463ee35bc7651c0fe /net/radius
parent6e242fdd860878726a6367bad84116ebf659fb14 (diff)
downloadpkgsrc-5fa4e1496daea5eeeec97d5966752319e32fd254.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/radius')
-rw-r--r--net/radius/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/radius/Makefile b/net/radius/Makefile
index f66f90b1bd3..e402b5fb286 100644
--- a/net/radius/Makefile
+++ b/net/radius/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 1999/08/18 09:28:02 agc Exp $
+# $NetBSD: Makefile,v 1.13 1999/09/14 02:32:26 kim Exp $
#
# Tempted to install another radius package?
#
@@ -31,14 +31,12 @@ MAKE_ENV+= RADLIBS="${RADLIBS} -lskey" LIBS=-lcrypt \
INSTALL="${INSTALL} -c"
# XXX Kerberos IV support is known to be broken.
-#.if defined(USE_KERBEROS4)
+#.if defined(KERBEROS) && ${KERBEROS} == 4
+#USE_KERBEROS= yes
#CFLAGS+= -DM_KERB -I/usr/include/kerberosIV
#RADLIBS= -lkrb -ldes
-#RESTRICTED= uses Kerberos encryption code
#.endif
-BUILD_DEFS+= USE_KERBEROS4
-
.include "../../mk/bsd.prefs.mk"
pre-patch: