1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11-wm/hyprland: unbreak plugin API after 54f2b0ad7d

In file included from hyprbars/barDeco.cpp:1:
In file included from hyprbars/barDeco.hpp:5:
In file included from /usr/local/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:3:
In file included from /usr/local/include/hyprland/src/render/decorations/../../defines.hpp:1:
/usr/local/include/hyprland/src/render/decorations/../../includes.hpp:36:10: fatal error: 'wlr/backend.h' file not found
 #include <wlr/backend.h>
          ^~~~~~~~~~~~~~~
This commit is contained in:
Jan Beich 2023-05-04 06:32:36 +00:00
parent 9bca641885
commit a3b163bbc0

View File

@ -1,7 +1,7 @@
PORTNAME= hyprland
DISTVERSIONPREFIX= v
DISTVERSION= 0.25.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11-wm wayland
MAINTAINER= jbeich@FreeBSD.org
@ -90,4 +90,9 @@ bundled-libcxx:
.endif # exists(/usr/lib/libc++.so)
.include "${.CURDIR:H:H}/x11-toolkits/wlroots-devel/override.mk"
post-patch: wlroots-devel-patch
wlroots-devel-patch:
# Prefer <wlr/*> headers (used by <hyprland/*>) from wlroots-devel
@${REINPLACE_CMD} -i .devel "/subdirs/s|''|'../wlroots-devel/include', &|" \
${WRKSRC}/meson.build
.include <bsd.port.mk>