summaryrefslogtreecommitdiff
path: root/security/mit-krb5/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-09-15 15:29:49 +0000
committerjlam <jlam@pkgsrc.org>2004-09-15 15:29:49 +0000
commitd2601f50d9af439c1f8d01c5f3fdd9b0ec36b452 (patch)
tree2e06e606588275ac4dc90601f39291c4858d8487 /security/mit-krb5/Makefile
parent9ba4de5e140d875de0d6be2c87766c54a4c3f1f3 (diff)
downloadpkgsrc-d2601f50d9af439c1f8d01c5f3fdd9b0ec36b452.tar.gz
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.
Diffstat (limited to 'security/mit-krb5/Makefile')
-rw-r--r--security/mit-krb5/Makefile10
1 files changed, 9 insertions, 1 deletions
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