Skip to content

Commit

Permalink
Restore a much simplified version of the tcsetpgrp handling, required…
Browse files Browse the repository at this point in the history
… as the

configure script fails to autodetect when running in a pbulk environment.
  • Loading branch information
jperkin committed May 12, 2017
1 parent 493d279 commit 9be2615
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion shells/zsh/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9be2615

Please sign in to comment.