aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2006-10-22 07:18:43 +0800
committerlawrance <lawrance@FreeBSD.org>2006-10-22 07:18:43 +0800
commit16e73da47a7aaaf72701c3cbeecdfa48d584e2cb (patch)
tree955daec6ec16c70ec659914fdcff14d82e203012 /shells
parent13cfc8a4266e544d73971ef6c06e90f27d53c594 (diff)
downloadfreebsd-ports-gnome-16e73da47a7aaaf72701c3cbeecdfa48d584e2cb.tar.gz
freebsd-ports-gnome-16e73da47a7aaaf72701c3cbeecdfa48d584e2cb.tar.zst
freebsd-ports-gnome-16e73da47a7aaaf72701c3cbeecdfa48d584e2cb.zip
Fix build. Don't remove all of the bundled readline, some
parts are required for building documentation. Reported by: kris, Randy Bush, Michael Butler` Approved by: portmgr (marcus)
Diffstat (limited to 'shells')
-rw-r--r--shells/bash2/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile
index a857c7e04cf2..5e949a11301b 100644
--- a/shells/bash2/Makefile
+++ b/shells/bash2/Makefile
@@ -51,7 +51,8 @@ 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/*
+ @${RM} -rf ${WRKSRC}/lib/readline/*.[ch] \
+ ${WRKSRC}/lib/readline/Makefile
@${TOUCH} ${WRKSRC}/lib/readline/Makefile.in
@${REINPLACE_CMD} -E "s,^((RL|HIST)_LIBSRC = ).*,\1/usr/include/readline," ${WRKSRC}/Makefile.in