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 /devel | |
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 'devel')
-rw-r--r-- | devel/cvs-current/Makefile | 10 | ||||
-rw-r--r-- | devel/cvs/Makefile | 10 |
2 files changed, 12 insertions, 8 deletions
diff --git a/devel/cvs-current/Makefile b/devel/cvs-current/Makefile index 04acfd0aadd..daaa31041fc 100644 --- a/devel/cvs-current/Makefile +++ b/devel/cvs-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1999/09/13 14:01:29 kim Exp $ +# $NetBSD: Makefile,v 1.4 1999/09/14 02:32:22 kim Exp $ # DISTNAME= cvs-1.10.6 @@ -11,17 +11,19 @@ HOMEPAGE= http://www.cyclic.com/cvs/info.html GNU_CONFIGURE= yes USE_GTEXINFO= yes -BUILD_DEFS+= USE_KERBEROS4 USE_KERBEROS5 RCS_LOCALID +BUILD_DEFS+= RCS_LOCALID .include "../../mk/bsd.prefs.mk" -.if defined(USE_KERBEROS4) +.if defined(KERBEROS) && ${KERBEROS} == 4 +USE_KERBEROS= yes CONFIGURE_ARGS+= --with-krb4=/usr --enable-encryption .else CONFIGURE_ARGS+= --with-krb4=no .endif -.if defined(USE_KERBEROS5) +.if defined(KERBEROS) && ${KERBEROS} == 5 +USE_KERBEROS= yes CONFIGURE_ARGS+= --with-gssapi .else CONFIGURE_ARGS+= --with-gssapi=no diff --git a/devel/cvs/Makefile b/devel/cvs/Makefile index 171ad8e3838..e6ae648fbeb 100644 --- a/devel/cvs/Makefile +++ b/devel/cvs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 1999/08/18 09:04:17 agc Exp $ +# $NetBSD: Makefile,v 1.23 1999/09/14 02:32:23 kim Exp $ # DISTNAME= cvs-1.10 @@ -11,17 +11,19 @@ HOMEPAGE= http://www.cyclic.com/cvs/info.html GNU_CONFIGURE= yes USE_GTEXINFO= yes -BUILD_DEFS+= USE_KERBEROS4 USE_KERBEROS5 RCS_LOCALID +BUILD_DEFS+= RCS_LOCALID .include "../../mk/bsd.prefs.mk" -.if defined(USE_KERBEROS4) +.if defined(KERBEROS) && ${KERBEROS} == 4 +USE_KERBEROS= yes CONFIGURE_ARGS+= --with-krb4=/usr --enable-encryption .else CONFIGURE_ARGS+= --with-krb4=no .endif -.if defined(USE_KERBEROS5) +.if defined(KERBEROS) && ${KERBEROS} == 5 +USE_KERBEROS= yes CONFIGURE_ARGS+= --with-gssapi .else CONFIGURE_ARGS+= --with-gssapi=no |