ports/62998: shells/bash-completion requires textproc/gsed
Jean-Baptiste Quenot
jb.quenot at caraldi.com
Wed Feb 18 09:30:11 UTC 2004
>Number: 62998
>Category: ports
>Synopsis: shells/bash-completion requires textproc/gsed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 18 01:30:10 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Jean-Baptiste Quenot
>Release: FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD oxyd.caraldi.com 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Bash Completion uses GNU extensions that FreeBSD sed does not have. GNU sed
and BSD sed are very different, and incompatible. Setting up a runtime
dependency on gsed when installing bash-completion ensures that all completions
are functional, and that Bash Completion behaves consistently between operating
systems.
This problem has already been [1]discussed (no action from maintainer has
happened so far), and the bash-completion [2]Changelog mentions the use of gsed
when found on non-Linux systems.
[1] http://lists.freebsd.org/pipermail/freebsd-ports/2003-November/006140.html
[2] http://www.caliban.org/files/bash/Changelog
>How-To-Repeat:
When gsed is not installed, many completions do not work, like killall, screen,
and many more that would be too long to list here. Installing gsed and
sourcing the bash_completion script again solves the problem.
>Fix:
Apply the following patch:
---------------------------------------8<-------------------------------
--- /usr/ports/shells/bash-completion/Makefile Fri Feb 6 14:12:20 2004
+++ Makefile-bash-completion Wed Feb 18 10:19:15 2004
@@ -14,6 +14,8 @@
COMMENT= Programmable completion library for Bash 2.04 and up
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
+# Make all completions available as BSD sed is incompatible with GNU sed
+RUN_DEPENDS+= gsed:${PORTSDIR}/textproc/gsed
WRKSRC= ${WRKDIR}/bash_completion
NO_BUILD= yes
---------------------------------------8<-------------------------------
Thank you for maintaining the bash completion port for FreeBSD.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list