From 3e415afd68dd2b504b8900c202dcbcb91655757f Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 15 Sep 2004 15:29:49 +0000 Subject: Force using the BSD utmp interface on NetBSD until the configure scripts can be taught how to properly detect our utmpx implementation. This should fix the build on NetBSD-2.0 and -current. --- security/mit-krb5/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'security') diff --git a/security/mit-krb5/Makefile b/security/mit-krb5/Makefile index 1ebb46a312a..81f9dd714cd 100644 --- a/security/mit-krb5/Makefile +++ b/security/mit-krb5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2004/09/07 01:47:28 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2004/09/15 15:29:49 jlam Exp $ DISTNAME= krb5-1.3.4 PKGNAME= mit-${DISTNAME} @@ -64,6 +64,14 @@ CONFIGURE_ARGS+= --without-krb4 CONFIGURE_ARGS+= --without-tcl MAKE_ENV+= ROOT_USER=${ROOT_USER} +# XXX Force using the BSD utmp interface on NetBSD until the configure +# XXX scripts can be taught how to properly detect our utmpx +# XXX implementation. +# +.if ${OPSYS} == "NetBSD" +CONFIGURE_ENV+= ac_cv_func_setutent=no +.endif + .if defined(KERBEROS_PREFIX_CMDS) && !empty(KERBEROS_PREFIX_CMDS:M[yY][eE][sS]) PKG_DEFAULT_OPTIONS+= prefix-cmds .endif -- cgit v1.2.3