pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/zsh Restore a much simplified version of the tc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe98f56264b3
branches:  trunk
changeset: 362340:fe98f56264b3
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri May 12 08:38:41 2017 +0000

description:
Restore a much simplified version of the tcsetpgrp handling, required as the
configure script fails to autodetect when running in a pbulk environment.

diffstat:

 shells/zsh/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r e9880f23b60d -r fe98f56264b3 shells/zsh/Makefile
--- a/shells/zsh/Makefile       Fri May 12 08:28:12 2017 +0000
+++ b/shells/zsh/Makefile       Fri May 12 08:38:41 2017 +0000
@@ -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 @@
 
 .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



Home | Main Index | Thread Index | Old Index