diff options
author | kim <kim@pkgsrc.org> | 1999-09-14 02:32:21 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 1999-09-14 02:32:21 +0000 |
commit | d0e9933400b1f4eb40f5031d352de20ecab382d6 (patch) | |
tree | c571b85d580b9bea0de042a463ee35bc7651c0fe /mail/fetchmail | |
parent | c1ddcbed2174f609d995d54a7966f951e02a1a8d (diff) | |
download | pkgsrc-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 'mail/fetchmail')
-rw-r--r-- | mail/fetchmail/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile index f87133a3e1e..1110d2cd214 100644 --- a/mail/fetchmail/Makefile +++ b/mail/fetchmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 1999/09/03 22:00:52 tron Exp $ +# $NetBSD: Makefile,v 1.53 1999/09/14 02:32:24 kim Exp $ # DISTNAME= fetchmail-5.0.7 @@ -15,14 +15,17 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf GNU_CONFIGURE= yes CONFIGURE_ENV= LDFLAGS="${CFLAGS}" -BUILD_DEFS+= USE_KERBEROS4 USE_INET6 +BUILD_DEFS+= USE_INET6 .include "../../mk/bsd.prefs.mk" -.if defined(USE_KERBEROS4) +.if defined(KERBEROS) && ${KERBEROS} == 4 +USE_KERBEROS= yes CONFIGURE_ARGS+=--with-kerberos=yes -RESTRICTED= uses Kerberos encryption code +.else +CONFIGURE_ARGS+=--with-kerberos=no .endif + .if defined(USE_INET6) && ${USE_INET6} == YES CONFIGURE_ARGS+=--enable-inet6 .endif |