git: 05587975b932 - 2023Q1 - x11/fnott: respect PREFIX for config after 272ba1db96af
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Mar 2023 10:50:53 UTC
The branch 2023Q1 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=05587975b932385467d2b65a99596f56b360d48a commit 05587975b932385467d2b65a99596f56b360d48a Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-03-31 08:17:12 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-03-31 10:50:49 +0000 x11/fnott: respect PREFIX for config after 272ba1db96af (cherry picked from commit 3824d8733328e4eab0abeb209aa6bde2285c1003) --- x11/fnott/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x11/fnott/Makefile b/x11/fnott/Makefile index f08d9d385f4b..8f3ef343205c 100644 --- a/x11/fnott/Makefile +++ b/x11/fnott/Makefile @@ -1,5 +1,6 @@ PORTNAME= fnott DISTVERSION= 1.3.0 +PORTREVISION= 1 CATEGORIES= x11 wayland MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ @@ -25,6 +26,10 @@ USE_XORG= pixman WRKSRC= ${WRKDIR}/${PORTNAME} post-patch: +# Respect PREFIX for system-wide config + @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ + ${WRKSRC}/config.c \ + ${WRKSRC}/doc/${PORTNAME}.ini.5.scd # Respect PREFIX for icons @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/xdg.c