summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-05-12 08:38:41 +0000
committerjperkin <jperkin@pkgsrc.org>2017-05-12 08:38:41 +0000
commita27de0ccb3caf1f900c106269105f129c16c8dda (patch)
tree392b846995f98be6caae032ca1b6a0fd2c4cce4c /shells
parentcc52de5cac5068e58be3ac3ad480c539c01edb4d (diff)
downloadpkgsrc-a27de0ccb3caf1f900c106269105f129c16c8dda.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