diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-03-31 08:17:12 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-03-31 10:49:51 +0000 |
commit | 3824d8733328e4eab0abeb209aa6bde2285c1003 (patch) | |
tree | 73bdcd1cdfa9316bdbb782a34a52b4b54135e13b | |
parent | 491b538f9d1861116102b287c3091965c7c18558 (diff) | |
download | freebsd-ports-3824d8733328e4eab0abeb209aa6bde2285c1003.zip |
x11/fnott: respect PREFIX for config after 272ba1db96af
-rw-r--r-- | x11/fnott/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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 |