diff options
Diffstat (limited to 'sys-libs/libosinfo/files/libosinfo-0.2.6-destdir.patch')
-rw-r--r-- | sys-libs/libosinfo/files/libosinfo-0.2.6-destdir.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-libs/libosinfo/files/libosinfo-0.2.6-destdir.patch b/sys-libs/libosinfo/files/libosinfo-0.2.6-destdir.patch new file mode 100644 index 000000000000..0f945e1e4651 --- /dev/null +++ b/sys-libs/libosinfo/files/libosinfo-0.2.6-destdir.patch @@ -0,0 +1,22 @@ +--- data/Makefile.am ++++ data/Makefile.am +@@ -11,7 +11,8 @@ + -wget -q -O $@ http://www.linux-usb.org/usb.ids + else + usb_ids_install: +- $(LN_S) $(USB_IDS) $(pkgdatadir)/db/usb.ids ++ -mkdir -p $(DESTDIR)$(pkgdatadir)/db/ ++ $(LN_S) $(USB_IDS) $(DESTDIR)$(pkgdatadir)/db/usb.ids + INSTALL_DATA_HOOK_DEPS += usb_ids_install + endif + +@@ -22,7 +23,8 @@ + -wget -q -O $@ http://pciids.sourceforge.net/v2.2/pci.ids + else + pci_ids_install: +- $(LN_S) $(PCI_IDS) $(pkgdatadir)/db/pci.ids ++ -mkdir -p $(DESTDIR)$(pkgdatadir)/db/ ++ $(LN_S) $(PCI_IDS) $(DESTDIR)$(pkgdatadir)/db/pci.ids + INSTALL_DATA_HOOK_DEPS += pci_ids_install + endif + |