diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2003-03-24 18:57:50 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2003-03-24 18:57:50 +0000 |
commit | 273ccf2e3b287e914a2f85ce8957a512e0587c4f (patch) | |
tree | 19effabd5e1b4c651f1ed24a5eaf302d7d073447 /shells/bash3 | |
parent | Update to 1.2219 and include support for MySQL 4.0. (diff) |
Support /dev/(tcp|udp)/host/port redirection.
Submitted by: David Yeske <dyeske@yahoo.com>
Notes
Notes:
svn path=/head/; revision=77412
Diffstat (limited to 'shells/bash3')
-rw-r--r-- | shells/bash3/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/shells/bash3/Makefile b/shells/bash3/Makefile index 9ffdd87f3520..ae6f97ca9ef1 100644 --- a/shells/bash3/Makefile +++ b/shells/bash3/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 |