git: 1c751f91a794 - main - x11/hyprcursor: unbreak system-wide cursors
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Mar 2024 23:02:50 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1c751f91a7945fd449f95e9292102e55786f46b7
commit 1c751f91a7945fd449f95e9292102e55786f46b7
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-03-10 22:59:43 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-03-10 23:02:38 +0000
x11/hyprcursor: unbreak system-wide cursors
---
x11/hyprcursor/Makefile | 5 +++++
1 file changed, 5 insertions(+)
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>