ports/75315: shells/bash2 is broken on -CURRENT

Michiel Boland michiel at boland.org
Tue Dec 21 07:45:08 UTC 2004


> 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.)



More information about the freebsd-ports-bugs mailing list