[PATCH] configure: add (usb|pci).ids locations on FreeBSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add default locations for usb.ids and pci.ids on FreeBSD,
i.e. paths used when installing this from misc/usbids
and misc/pciids ports.

This way users on FreeBSD don't need to explicitly set
these paths using --with-(usb|pci)-ids-path flag.
---
 configure.ac | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index eb37f41..a3c7351 100644
--- a/configure.ac
+++ b/configure.ac
@@ -202,7 +202,8 @@ AC_SUBST(COVERAGE_CFLAGS)
 AC_SUBST(COVERAGE_LDFLAGS)
 
 
-USB_ID_FILES="/usr/share/usb.ids /usr/share/misc/usb.ids /usr/share/hwdata/usb.ids"
+USB_ID_FILES="/usr/share/usb.ids /usr/share/misc/usb.ids \
+              /usr/share/hwdata/usb.ids /usr/local/share/usbids/usb.ids"
 
 AC_ARG_WITH(usb-ids-path,
               [AC_HELP_STRING([--with-usb-ids-path],
@@ -239,7 +240,8 @@ else
 fi
 
 
-PCI_ID_FILES="/usr/share/pci.ids /usr/share/misc/pci.ids /usr/share/hwdata/pci.ids"
+PCI_ID_FILES="/usr/share/pci.ids /usr/share/misc/pci.ids \
+              /usr/share/hwdata/pci.ids /usr/local/share/pciids/pci.ids"
 
 AC_ARG_WITH(pci-ids-path,
               [AC_HELP_STRING([--with-pci-ids-path],
-- 
2.11.0

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux