aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2024-03-10 22:59:43 +0000
committerJan Beich <jbeich@FreeBSD.org>2024-03-10 23:02:38 +0000
commit1c751f91a7945fd449f95e9292102e55786f46b7 (patch)
tree131670e93d926f623cf51477edc3d7f861c1d74c
parent79f8f9c8f54b8de3d324d30ce9a19649bbe69e69 (diff)
downloadports-1c751f91a7945fd449f95e9292102e55786f46b7.tar.gz
ports-1c751f91a7945fd449f95e9292102e55786f46b7.zip
x11/hyprcursor: unbreak system-wide cursors
-rw-r--r--x11/hyprcursor/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11/hyprcursor/Makefile b/x11/hyprcursor/Makefile
index cff5ab0984e7..5ce8516dc4fd 100644
--- a/x11/hyprcursor/Makefile
+++ b/x11/hyprcursor/Makefile
@@ -19,4 +19,9 @@ USE_GNOME= cairo librsvg2
GH_ACCOUNT= hyprwm
PLIST_SUB= VERSION=${DISTVERSION:C/-.*//}
+post-patch:
+# Respect PREFIX for icons
+ @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
+ ${WRKSRC}/lib${PORTNAME}/${PORTNAME}.cpp
+
.include <bsd.port.mk>