Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 08:45:05 +0100
From:      Michiel Boland <michiel@boland.org>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/75315: shells/bash2 is broken on -CURRENT
Message-ID:  <20041221074505.GA58164@xs4all.nl>
In-Reply-To: <200412201620.iBKGKNHD095221@freefall.freebsd.org>
References:  <200412201615.iBKGFaIQ006421@xs6.xs4all.nl> <200412201620.iBKGKNHD095221@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> http://www.freebsd.org/cgi/query-pr.cgi?pr=75315

Another workaround would be to use the bundled readline, as in

Index: Makefile
===================================================================
RCS file: /usr/ncvs/ports/shells/bash2/Makefile,v
retrieving revision 1.74
diff -u -r1.74 Makefile
--- Makefile	27 Oct 2004 22:13:04 -0000	1.74
+++ Makefile	21 Dec 2004 07:35:59 -0000
@@ -35,7 +35,6 @@
 USE_REINPLACE=	yes
 WRKSRC=		${WRKDIR}/bash-${PORTVERSION:C/\....$//}
 GNU_CONFIGURE=	Yes
-CONFIGURE_ARGS=	--with-installed-readline
 .if defined(WANT_STATIC_BASH) || defined(NO_DYNAMICROOT) || (defined(NOSHARED) && ( ${NOSHARED} != "no" && ${NOSHARED} != "NO" ))
 CONFIGURE_ARGS+= --enable-static-link
 .else

The above patch needs to be modified of course to preserve the working
setup for RELENG_5 etc, but I don't know how to do that.

The bash port is not broken, so another thing would be to
deinstall bash2 and use bash instead. (Why do I always discover things
like this right after I submit a PR.)



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