aboutsummaryrefslogtreecommitdiff
path: root/x11/fnott
diff options
context:
space:
mode:
Diffstat (limited to 'x11/fnott')
-rw-r--r--x11/fnott/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/fnott/Makefile b/x11/fnott/Makefile
index 3094fea6f501..91915f10805d 100644
--- a/x11/fnott/Makefile
+++ b/x11/fnott/Makefile
@@ -24,7 +24,8 @@ USE_XORG= pixman
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
- @${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \
+# Respect PREFIX for icons
+ @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
${WRKSRC}/xdg.c
.include <bsd.port.mk>