diff options
author | Alexis Ballier <aballier@gentoo.org> | 2015-10-16 13:12:34 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2015-10-16 13:15:35 +0200 |
commit | 408c68e5e3f5925925eb35d308387b373c7f7b5b (patch) | |
tree | d58896ccc8f17ae6cd2901d32d2030769c1faaa7 /media-libs/openh264/files | |
parent | net-misc/ocsync: only keep version for bug #501228 (diff) | |
download | gentoo-408c68e5e3f5925925eb35d308387b373c7f7b5b.tar.gz gentoo-408c68e5e3f5925925eb35d308387b373c7f7b5b.tar.bz2 gentoo-408c68e5e3f5925925eb35d308387b373c7f7b5b.zip |
media-libs/openh264: Add patch to install pkgconfig files into proper libdir.
Otherwise, multilib builds trying to use it do not find it.
Package-Manager: portage-2.2.23
Diffstat (limited to 'media-libs/openh264/files')
-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 |