diff options
author | kim <kim> | 1999-09-14 02:32:21 +0000 |
---|---|---|
committer | kim <kim> | 1999-09-14 02:32:21 +0000 |
commit | 8142fc32102dafbb74dd4804ee3fae1d247cd707 (patch) | |
tree | c571b85d580b9bea0de042a463ee35bc7651c0fe /mail/nmh | |
parent | 31fd05b3892b304f923f609e1b6d97ac98c0ef25 (diff) | |
download | pkgsrc-8142fc32102dafbb74dd4804ee3fae1d247cd707.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 'mail/nmh')
-rw-r--r-- | mail/nmh/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile index 9edc0abb73f..87dd2e48925 100644 --- a/mail/nmh/Makefile +++ b/mail/nmh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 1999/08/20 14:05:15 enami Exp $ +# $NetBSD: Makefile,v 1.29 1999/09/14 02:32:24 kim Exp $ # FreeBSD Id: Makefile,v 1.2 1997/08/04 06:51:28 markm Exp # @@ -35,14 +35,16 @@ CONFIGURE_ARGS+= --with-editor=${NMH_EDITOR} CONFIGURE_ARGS+= --with-pager=${NMH_PAGER} .endif -.if defined(USE_KERBEROS4) +.if defined(KERBEROS) && ${KERBEROS} == 4 +USE_KERBEROS= yes CONFIGURE_ARGS+=--with-krb4=yes -RESTRICTED= uses Kerberos encryption code +.else +CONFIGURE_ARGS+=--with-krb4=no .endif DOCDIR= share/doc/nmh -BUILD_DEFS+= USE_KERBEROS4 NMH_MTA NMH_EDITOR NMH_PAGER NMH_HASH_BACKUP +BUILD_DEFS+= NMH_MTA NMH_EDITOR NMH_PAGER NMH_HASH_BACKUP # Since we patch the autoconf files as well as their outputs, avoid attempt # to regenerate header input files with 'autoheader' by Makefile. |