$NetBSD: patch-ab,v 1.6 2022/05/13 23:50:46 tnn Exp $ lspci on Linux is unprivileged and wants to go in bin, not sbin. But that breaks our PLIST so let's not bother with that. --- lib/configure.orig 2022-04-15 21:57:59.000000000 +0000 +++ lib/configure @@ -80,7 +80,6 @@ case $sys in ;; esac echo >>$c '#define PCI_HAVE_64BIT_ADDRESS' - LSPCIDIR=BINDIR ;; sunos) case $cpu in @@ -301,7 +300,7 @@ else echo >>$m 'SONAME=-Wl,-soname,$(LIBNAME).$(LIBEXT)$(ABI_VERSION)' fi fi -echo >>$m 'PCILIBPC=$(LIBNAME).pc' +echo >>$m 'PCILIBPC=libpci.pc' echo >>$c "#define PCILIB_VERSION \"$VERSION\"" sed '/"/{s/^#define \([^ ]*\) "\(.*\)"$/\1=\2/;p;d;};s/^#define \(.*\)/\1=1/' <$c >>$m