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 /databases/openldap | |
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 'databases/openldap')
-rw-r--r-- | databases/openldap/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile index b7640200806..9bf0a6d02c4 100644 --- a/databases/openldap/Makefile +++ b/databases/openldap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 1999/09/10 10:41:39 hwr Exp $ +# $NetBSD: Makefile,v 1.12 1999/09/14 02:32:21 kim Exp $ # DISTNAME= openldap-1.2.7 @@ -23,14 +23,13 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+=--enable-dns --enable-cldap \ --enable-wrappers --enable-passwd --enable-shell -BUILD_DEFS+= USE_KERBEROS4 - .include "../../mk/bsd.prefs.mk" -.if !defined(USE_KERBEROS4) -CONFIGURE_ARGS+=--without-kerberos +.if defined(KERBEROS) && ${KERBEROS} == 4 +USE_KERBEROS= yes +CONFIGURE_ARGS+=--with-kerberos .else -RESTRICTED= uses Kerberos encryption code +CONFIGURE_ARGS+=--without-kerberos .endif .include "../../mk/bsd.pkg.mk" |