summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorjperkin <jperkin>2017-05-12 08:38:41 +0000
committerjperkin <jperkin>2017-05-12 08:38:41 +0000
commitfcfcf5814674bcf9542c1c5e785a1cb38e2f5b02 (patch)
tree5521d918b8e65522c8432e747960b8d8ddfaac45 /shells
parent6fb1a68dce060fd94cec3562e634b0a596ec7f84 (diff)
downloadpkgsrc-fcfcf5814674bcf9542c1c5e785a1cb38e2f5b02.tar.gz
Restore a much simplified version of the tcsetpgrp handling, required as the
configure script fails to autodetect when running in a pbulk environment.
Diffstat (limited to 'shells')
-rw-r--r--shells/zsh/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 8fe3f457ac7..d46d8552afc 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2017/05/11 13:49:06 jperkin Exp $
+# $NetBSD: Makefile,v 1.80 2017/05/12 08:38:41 jperkin Exp $
DISTNAME= zsh-5.3.1
CATEGORIES= shells
@@ -24,6 +24,14 @@ CONFIGURE_ARGS+= --with-term-lib="${BUILDLINK_LIBNAME.curses} ${BUILDLINK
.include "../../mk/bsd.prefs.mk"
+# This cannot be detected automatically without a controlling tty, for example
+# when bulk building.
+.if ${OPSYS} == "Interix"
+CONFIGURE_ARGS+= --without-tcsetpgrp
+.else
+CONFIGURE_ARGS+= --with-tcsetpgrp
+.endif
+
.if ${USE_CROSS_COMPILE:U:tl} == "yes"
# These can't be detected automagically in cross-builds.
CONFIGURE_ENV.NetBSD+= zsh_cv_shared_environ=yes