Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2002 14:23:53 +0200 (CEST)
From:      Harold Gutch <logix@foobar.franken.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42729: bash manpage has /bin/bash as location for bash executable
Message-ID:  <200209131223.g8DCNrUB019046@foobar.franken.de>

next in thread | raw e-mail | index | archive | help

>Number:         42729
>Category:       ports
>Synopsis:       bash manpage has /bin/bash as location for bash executable
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 13 05:30:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Harold Gutch
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD foobar.franken.de 4.6-STABLE FreeBSD 4.6-STABLE #4: Tue Aug 20 06:38:17 CEST 2002 logix@foobar.franken.de:/usr/obj/usr/src/sys/FOOBAR i386

>Description:
The manpage of shells/bash2 incorrectly lists /bin/bash as location for the
bash executable instead of ${PREFIX}/bin/bash.
>How-To-Repeat:
man bash and look at the first entry of the FILES section.
>Fix:
Apply this patch:
--- Makefile.orig	Tue Sep 10 16:38:53 2002
+++ Makefile	Fri Sep 13 14:22:47 2002
@@ -27,7 +27,12 @@
 GNU_CONFIGURE=	Yes
 CONFIGURE_ARGS=	--with-installed-readline
 CONFIGURE_ENV=	LDFLAGS=-static
+USE_REINPLACE=	yes
 MAN1=		bash.1 bashbug.1
+
+post-patch:
+	@${REINPLACE_CMD} -e "s,.FN /bin/bash,.FN ${PREFIX}/bin/bash," \
+		${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/bash.1
 
 post-install:
 	${CP} /etc/shells /etc/shells.bak
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209131223.g8DCNrUB019046>