diff options
author | lawrance <lawrance@FreeBSD.org> | 2006-11-04 07:25:41 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2006-11-04 07:25:41 +0800 |
commit | f9c9960166b7d18cf2ec54a0f605079d669bc265 (patch) | |
tree | 0a6aa0f447f1b9f333b5d97f5638315f7921d40c | |
parent | 90d2f0c4fb3727904f03ac4b615a0678ffa1b9c5 (diff) | |
download | freebsd-ports-gnome-f9c9960166b7d18cf2ec54a0f605079d669bc265.tar.gz freebsd-ports-gnome-f9c9960166b7d18cf2ec54a0f605079d669bc265.tar.zst freebsd-ports-gnome-f9c9960166b7d18cf2ec54a0f605079d669bc265.zip |
The readline fix should not be required on 4.x. Disable post-patch magic
on 4.x systems.
Reported by: kris
-rw-r--r-- | shells/bash2/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile index 5e949a11301b..cbfd473688ad 100644 --- a/shells/bash2/Makefile +++ b/shells/bash2/Makefile @@ -49,12 +49,14 @@ MAN1= bash.1 bashbug.1 INFO= bash post-patch: +.if ${OSVERSION} < 500000 @${REINPLACE_CMD} -e "s,.FN /bin/bash,.FN ${PREFIX}/bin/bash," \ ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}/doc/bash.1 @${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 +.endif update-etc-shells: @${ECHO_MSG} "updating /etc/shells" |