summaryrefslogtreecommitdiff
path: root/lib/libva
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-07-25 00:23:50 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-07-25 00:23:50 +0000
commit1bbdf98dae72b3185543619a25be82ff73209f77 (patch)
treec77a797fa8b430467098cc5bbb10a8355a8b1750 /lib/libva
parent1bf474f2c641b83cebc2f7280bf5605fc439869b (diff)
also search ${LOCALBASE}/lib/dri for vaapi .so files
will make the intel ports less awkward ok matthieu@ rsadowski@
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>