svn commit: r560241 - head/devel/readline
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jan 3 20:29:59 UTC 2021
Author: sunpoet
Date: Sun Jan 3 20:29:54 2021
New Revision: 560241
URL: https://svnweb.freebsd.org/changeset/ports/560241
Log:
Read inputrc from LOCALBASE/etc/inputrc rather than /etc/inputrc
- Bump PORTREVISION for package change
PR: 247933
Reported by: Michael Osipov <michael.osipov at siemens.com>
Modified:
head/devel/readline/Makefile
Modified: head/devel/readline/Makefile
==============================================================================
--- head/devel/readline/Makefile Sun Jan 3 20:29:49 2021 (r560240)
+++ head/devel/readline/Makefile Sun Jan 3 20:29:54 2021 (r560241)
@@ -3,6 +3,7 @@
PORTNAME= readline
PORTVERSION= 8.0.${PATCHLEVEL}
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GNU
DISTNAME= ${PORTNAME}-${PORTVERSION:R}
@@ -37,6 +38,7 @@ PATCHFILES+= ${PORTNAME}${PORTVERSION:R:S|.||}-${patch
.endfor
post-patch:
+ @${REINPLACE_CMD} -e '/SYS_INPUTRC/ s|/etc/inputrc|${LOCALBASE}&|' ${WRKSRC}/rlconf.h
.if exists(/usr/lib/libtermcapw.so)
@${REINPLACE_CMD} 's|-ltermcap|-ltermcapw|g' ${WRKSRC}/configure
.endif
More information about the svn-ports-head
mailing list