From 569889ebf2385ae5ad7810e96350929ac1c5d5ac Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 21 Nov 2006 17:47:53 +0000 Subject: Add explicit IOV_MAX for Interix -- openssh tries to use _XOPEN_IOV_MAX in an autoarray, but on Interix that is the same as INT_MAX[!]. --- security/openssh/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'security') diff --git a/security/openssh/Makefile b/security/openssh/Makefile index 41ecc134269..8044f6d2366 100644 --- a/security/openssh/Makefile +++ b/security/openssh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.174 2006/11/08 01:49:22 taca Exp $ +# $NetBSD: Makefile,v 1.175 2006/11/21 17:47:53 tv Exp $ DISTNAME= openssh-4.5p1 PKGNAME= openssh-4.5.1 @@ -45,6 +45,7 @@ MESSAGE_SRC= ${.CURDIR}/MESSAGE.Interix BUILDLINK_PASSTHRU_DIRS+= /usr/local/include/bind /usr/local/lib/bind CONFIGURE_ENV+= ac_cv_func_openpty=no CONFIGURE_ENV+= ac_cv_type_struct_timespec=yes +CPPFLAGS+= -DIOV_MAX=16 # default is INT_MAX, way too large CPPFLAGS+= -I/usr/local/include/bind LDFLAGS+= -L/usr/local/lib/bind LIBS+= -lbind -ldb -lcrypt -- cgit v1.2.3