summaryrefslogtreecommitdiff
path: root/security/mit-krb5
diff options
context:
space:
mode:
authorjlam <jlam>2004-09-15 15:29:49 +0000
committerjlam <jlam>2004-09-15 15:29:49 +0000
commite5cdbede5b4e8a3c62c9b72785d2b6049781c671 (patch)
tree2e06e606588275ac4dc90601f39291c4858d8487 /security/mit-krb5
parent499ef62746d10485eaf7d79d513c41d860cc3d25 (diff)
downloadpkgsrc-e5cdbede5b4e8a3c62c9b72785d2b6049781c671.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')
-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