summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-07-25 00:18:22 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-07-25 00:18:22 +0000
commit2cb82a0f365b7360dde6ce14b143dcbc304d86e9 (patch)
tree864f9275233eb2cfba6e6aea9e5d23b53616470c /lib
parent616d1b9d31021107fc71c83f65e4ede8444a9a7c (diff)
install Mesa vaapi .so files into the dri directory
closer matches the Mesa meson defaults ok matthieu@ rsadowski@
Diffstat (limited to 'lib')
-rw-r--r--lib/libva/Makefile.bsd-wrapper4
-rw-r--r--lib/mesa/mk/libgallium_drv_video/Makefile10
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/libva/Makefile.bsd-wrapper b/lib/libva/Makefile.bsd-wrapper
index 800751a0a..443cf85bb 100644
--- a/lib/libva/Makefile.bsd-wrapper
+++ b/lib/libva/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.1 2024/07/19 14:35:16 rsadowski Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.2 2024/07/25 00:18:21 jsg Exp $
SHARED_LIBS += va-drm 2.22
SHARED_LIBS += va-glx 2.22
@@ -7,6 +7,6 @@ SHARED_LIBS += va 2.22
CONFIGURE_ARGS= --disable-wayland
CONFIGURE_ARGS+= \
- --with-drivers-path=${DESTDIR}${X11BASE}/lib/modules/drivers/
+ --with-drivers-path=${DESTDIR}${X11BASE}/lib/modules/dri
.include <bsd.xorg.mk>
diff --git a/lib/mesa/mk/libgallium_drv_video/Makefile b/lib/mesa/mk/libgallium_drv_video/Makefile
index 75ba326d6..363b22525 100644
--- a/lib/mesa/mk/libgallium_drv_video/Makefile
+++ b/lib/mesa/mk/libgallium_drv_video/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2024/07/22 00:40:30 jsg Exp $
+# $OpenBSD: Makefile,v 1.4 2024/07/25 00:18:21 jsg Exp $
LIB= gallium_drv_video
@@ -39,12 +39,12 @@ CPPFLAGS+= -DGALLIUM_LLVMPIPE
install:
${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} \
-o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
- lib${LIB}.so ${DESTDIR}${X11BASE}/lib/modules/drivers
+ lib${LIB}.so ${DESTDIR}${X11BASE}/lib/modules/dri
.for driver in ${GALLIUM_DRIVERS}
- ln -f ${DESTDIR}${X11BASE}/lib/modules/drivers/lib${LIB}.so \
- ${DESTDIR}${X11BASE}/lib/modules/drivers/${driver}_drv_video.so
+ ln -f ${DESTDIR}${X11BASE}/lib/modules/dri/lib${LIB}.so \
+ ${DESTDIR}${X11BASE}/lib/modules/dri/${driver}_drv_video.so
.endfor
- rm ${DESTDIR}${X11BASE}/lib/modules/drivers/lib${LIB}.so
+ rm ${DESTDIR}${X11BASE}/lib/modules/dri/lib${LIB}.so
obj: _xenocara_obj