From 273ccf2e3b287e914a2f85ce8957a512e0587c4f Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 24 Mar 2003 18:57:50 +0000 Subject: Support /dev/(tcp|udp)/host/port redirection. Submitted by: David Yeske --- shells/bash2/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'shells/bash2') diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile index 9ffdd87f3520..ae6f97ca9ef1 100644 --- a/shells/bash2/Makefile +++ b/shells/bash2/Makefile @@ -34,6 +34,15 @@ CONFIGURE_ARGS= --with-installed-readline CONFIGURE_ENV= LDFLAGS=-static MAN1= bash.1 bashbug.1 +.if defined(WITH_NET_REDIRECTIONS) +CONFIGURE_ARGS+= --enable-net-redirections +.endif + +pre-extract: +.if !defined(WITH_NET_REDIRECTIONS) + @${ECHO_MSG} "You can enable support for /dev/(tcp|udp)/host/port redirection by defining WITH_NET_REDIRECTIONS." +.endif + post-install: ${CP} /etc/shells /etc/shells.bak (${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; ${ECHO_CMD} ${PREFIX}/bin/bash) >/etc/shells -- cgit v1.2.3