summaryrefslogtreecommitdiff
path: root/security
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
commit02c1a0202c263d6c5b5c07142fb1fc0753081ac2 (patch)
tree2e06e606588275ac4dc90601f39291c4858d8487 /security
parent36ff7aa247f25afcf0855532b83914f4b0bfc602 (diff)
downloadpkgsrc-02c1a0202c263d6c5b5c07142fb1fc0753081ac2.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')
-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