diff options
Diffstat (limited to 'media-libs/openh264/files/pkgconfig_install.patch')
-rw-r--r-- | media-libs/openh264/files/pkgconfig_install.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/media-libs/openh264/files/pkgconfig_install.patch b/media-libs/openh264/files/pkgconfig_install.patch new file mode 100644 index 000000000000..50d8715ce6f3 --- /dev/null +++ b/media-libs/openh264/files/pkgconfig_install.patch @@ -0,0 +1,15 @@ +Index: openh264-1.4.0/Makefile +=================================================================== +--- openh264-1.4.0.orig/Makefile ++++ openh264-1.4.0/Makefile +@@ -253,8 +253,8 @@ install-shared: $(LIBPREFIX)$(PROJECT_NA + if [ "$(SHAREDLIBSUFFIXVER)" != "$(SHAREDLIBSUFFIX)" ]; then \ + cp -a $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) $(DESTDIR)/$(SHAREDLIB_DIR); \ + fi +- mkdir -p $(DESTDIR)/$(PREFIX)/lib/pkgconfig +- install -m 644 $(PROJECT_NAME).pc $(DESTDIR)/$(PREFIX)/lib/pkgconfig ++ mkdir -p $(DESTDIR)/$(SHAREDLIB_DIR)/pkgconfig ++ install -m 644 $(PROJECT_NAME).pc $(DESTDIR)/$(SHAREDLIB_DIR)/pkgconfig + ifneq ($(EXTRA_LIBRARY),) + install -m 644 $(EXTRA_LIBRARY) $(DESTDIR)/$(PREFIX)/lib + endif |