summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/libva/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/libva/Makefile b/multimedia/libva/Makefile
index 5e9a4fdff31d..d1410ba7bea3 100644
--- a/multimedia/libva/Makefile
+++ b/multimedia/libva/Makefile
@@ -42,4 +42,7 @@ X11_USES= xorg
X11_USE= XORG=x11,xorgproto,xext,xfixes
X11_MESON_YES= with_x11
+post-patch:
+ @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' ${WRKSRC}/va/va.c
+
.include <bsd.port.mk>