aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2022-08-05 16:29:29 +0000
committerDima Panov <fluffy@FreeBSD.org>2022-08-05 16:30:30 +0000
commita835676e2eacf4ce89effff1de3a61133c520794 (patch)
tree374744656fd2f170d0cb4459b04eeeeca539cb78
parentaacdb477d11357543c5663ce94e2bcf78fc6b807 (diff)
downloadports-a835676e2eacf4ce89effff1de3a61133c520794.tar.gz
ports-a835676e2eacf4ce89effff1de3a61133c520794.zip
x11-drivers/xorgxrdp[-devel]: unbreak build with DRI3 enabled after latest xorg update
Approved by: portmgr blanket
-rw-r--r--x11-drivers/xorgxrdp-devel/Makefile1
-rw-r--r--x11-drivers/xorgxrdp/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/x11-drivers/xorgxrdp-devel/Makefile b/x11-drivers/xorgxrdp-devel/Makefile
index c784dea753ad..192fc5bc980e 100644
--- a/x11-drivers/xorgxrdp-devel/Makefile
+++ b/x11-drivers/xorgxrdp-devel/Makefile
@@ -37,6 +37,7 @@ OPTIONS_DEFAULT=
DRI3_DESC= DRI3/Glamor OpenGL Support
DRI3_CONFIGURE_ENABLE= glamor
DRI3_LIB_DEPENDS= libepoxy.so:graphics/libepoxy
+DRI3_CFLAGS= -I${LOCALBASE}/include/libdrm
DRI3_SUB_FILES= pkg-message
post-patch-DEBUG-on:
diff --git a/x11-drivers/xorgxrdp/Makefile b/x11-drivers/xorgxrdp/Makefile
index cb929d3539d9..ffbe8de8c69b 100644
--- a/x11-drivers/xorgxrdp/Makefile
+++ b/x11-drivers/xorgxrdp/Makefile
@@ -35,6 +35,7 @@ OPTIONS_DEFAULT=
DRI3_DESC= DRI3/Glamor OpenGL Support
DRI3_CONFIGURE_ENABLE= glamor
DRI3_LIB_DEPENDS= libepoxy.so:graphics/libepoxy
+DRI3_CFLAGS= -I${LOCALBASE}/include/libdrm
DRI3_SUB_FILES= pkg-message
post-patch-DEBUG-on: