$NetBSD: patch-ab,v 1.8 2024/02/25 15:08:50 wiz 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 2024-02-23 13:56:07.000000000 +0000 +++ lib/configure @@ -85,7 +85,6 @@ case $sys in ;; esac echo >>$c '#define PCI_HAVE_64BIT_ADDRESS' - LSPCIDIR=BINDIR ;; sunos) echo_n " mem-ports ecam" @@ -352,7 +351,7 @@ else echo >>$m 'PCILIB_LDFLAGS+=-Wl,--exclude-all-symbols' fi fi -echo >>$m 'PCILIBPC=$(LIBNAME).pc' +echo >>$m 'PCILIBPC=libpci.pc' if [ "$SHARED" != no ] && [ "$LIBEXT" = dll ]; then echo >>$m 'PCIIMPLIB=$(PCILIB).a'