summaryrefslogtreecommitdiff
path: root/security/openssh
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2006-11-21 17:47:53 +0000
committertv <tv@pkgsrc.org>2006-11-21 17:47:53 +0000
commit569889ebf2385ae5ad7810e96350929ac1c5d5ac (patch)
tree1e1ff72b9b025dae2f6f86de8cbb29419e82cbc7 /security/openssh
parent53c87eaf2f5aa2b5b4694914733b7762631f6506 (diff)
downloadpkgsrc-569889ebf2385ae5ad7810e96350929ac1c5d5ac.tar.gz
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[!].
Diffstat (limited to 'security/openssh')
-rw-r--r--security/openssh/Makefile3
1 files changed, 2 insertions, 1 deletions
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