summaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2006-10-20 07:55:54 +0000
committerlawrance <lawrance@FreeBSD.org>2006-10-20 07:55:54 +0000
commit8f64c49f744ae5e047e33772f859abea12825a17 (patch)
tree7ac86ce439941c33e0eea8e63655f7124cfd69af /shells
parent00cfcf225c0d527524919c8038a5d4a127b30bc4 (diff)
downloadFreeBSD-ports-8f64c49f744ae5e047e33772f859abea12825a17.zip
FreeBSD-ports-8f64c49f744ae5e047e33772f859abea12825a17.tar.gz
bash2 links against the system readline, so patch it to build with the
system readline headers too. This prevents segfaults due to certain key sequences. PR: ports/75315 Submitted by: Michiel Boland Approved by: portmgr (marcus) Approved by: obrien (maintainer, timeout 22 months)
Diffstat (limited to 'shells')
-rw-r--r--shells/bash2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile
index 5fd086e..a857c7e 100644
--- a/shells/bash2/Makefile
+++ b/shells/bash2/Makefile
@@ -8,7 +8,7 @@
PORTNAME= bash
PORTVERSION= 2.05b.007
-PORTREVISION?= 5
+PORTREVISION?= 6
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GNU} \
ftp://ftp.cwru.edu/pub/bash/
@@ -51,6 +51,9 @@ INFO= bash
post-patch:
@${REINPLACE_CMD} -e "s,.FN /bin/bash,.FN ${PREFIX}/bin/bash," \
${WRKDIR}/${PORTNAME}-${PORTVERSION:R}/doc/bash.1
+ @${RM} -rf ${WRKSRC}/lib/readline/*
+ @${TOUCH} ${WRKSRC}/lib/readline/Makefile.in
+ @${REINPLACE_CMD} -E "s,^((RL|HIST)_LIBSRC = ).*,\1/usr/include/readline," ${WRKSRC}/Makefile.in
update-etc-shells:
@${ECHO_MSG} "updating /etc/shells"
OpenPOWER on IntegriCloud