diff options
Diffstat (limited to 'shells')
-rw-r--r-- | shells/bash2/Makefile | 3 |
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 |