aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: