aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libvpx/files/patch-libs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libvpx/files/patch-libs.mk')
-rw-r--r--multimedia/libvpx/files/patch-libs.mk13
1 files changed, 11 insertions, 2 deletions
diff --git a/multimedia/libvpx/files/patch-libs.mk b/multimedia/libvpx/files/patch-libs.mk
index 7249b76bce53..a6cfaf19facd 100644
--- a/multimedia/libvpx/files/patch-libs.mk
+++ b/multimedia/libvpx/files/patch-libs.mk
@@ -3,9 +3,18 @@ $FreeBSD$
--- libs.mk.orig
+++ libs.mk
-@@ -242,8 +242,8 @@
- $(qexec)echo 'Conflicts:' >> $@
+@@ -209,7 +209,7 @@
+ $(addprefix $(BUILD_PFX),$(notdir $(LIBVPX_SO_SYMLINKS))),\
+ $(BUILD_PFX)$(LIBVPX_SO)))
+ $(eval $(call libvpx_symlink_template,\
+- $(addprefix $(DIST_DIR)/,$(LIBVPX_SO_SYMLINKS)),\
++ $(addprefix $(DESTDIR)/$(DIST_DIR)/,$(LIBVPX_SO_SYMLINKS)),\
+ $(DIST_DIR)/$(LIBSUBDIR)/$(LIBVPX_SO)))
+
+ INSTALL-LIBS-$(CONFIG_SHARED) += $(LIBVPX_SO_SYMLINKS)
+@@ -232,8 +232,8 @@
$(qexec)echo 'Libs: -L$${libdir} -lvpx' >> $@
+ $(qexec)echo 'Libs.private: -lm -pthread' >> $@
$(qexec)echo 'Cflags: -I$${includedir}' >> $@
-INSTALL-LIBS-yes += $(LIBSUBDIR)/pkgconfig/vpx.pc
-INSTALL_MAPS += $(LIBSUBDIR)/pkgconfig/%.pc %.pc