git: 9764d128c22b - main - x11/disman: correct hwdata location (to expand vendor name)

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 07 Nov 2021 17:03:29 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9764d128c22bd736b6d3529d157b019926c6d4d2

commit 9764d128c22bd736b6d3529d157b019926c6d4d2
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-11-07 13:38:53 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-11-07 16:57:48 +0000

    x11/disman: correct hwdata location (to expand vendor name)
    
    Neither this port nor any other port seems to depend on hwdata directly.
---
 x11/disman/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/x11/disman/Makefile b/x11/disman/Makefile
index 2ff763bbfb68..cbb096ddbb5e 100644
--- a/x11/disman/Makefile
+++ b/x11/disman/Makefile
@@ -32,4 +32,9 @@ X11_USES=		xorg
 X11_USE=		QT=x11extras XORG=xcb
 X11_CMAKE_BOOL_OFF=	${Qt5X11Extras XCB:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/}
 
+post-patch:
+# Respect PREFIX for hwdata
+	@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
+		${WRKSRC}/backends/edid.cpp
+
 .include <bsd.port.mk>