summaryrefslogtreecommitdiff
path: root/lib/libva
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libva')
-rw-r--r--lib/libva/Makefile.bsd-wrapper6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libva/Makefile.bsd-wrapper b/lib/libva/Makefile.bsd-wrapper
index 443cf85bb..0ce72607f 100644
--- a/lib/libva/Makefile.bsd-wrapper
+++ b/lib/libva/Makefile.bsd-wrapper
@@ -1,12 +1,14 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.2 2024/07/25 00:18:21 jsg Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.3 2024/07/25 00:23:49 jsg Exp $
SHARED_LIBS += va-drm 2.22
SHARED_LIBS += va-glx 2.22
SHARED_LIBS += va-x11 2.22
SHARED_LIBS += va 2.22
+LOCALBASE ?= /usr/local
+
CONFIGURE_ARGS= --disable-wayland
CONFIGURE_ARGS+= \
- --with-drivers-path=${DESTDIR}${X11BASE}/lib/modules/dri
+ --with-drivers-path=${DESTDIR}${X11BASE}/lib/modules/dri:${LOCALBASE}/lib/dri
.include <bsd.xorg.mk>