$NetBSD: patch-lib_configure,v 1.2 2025/07/23 18:32:32 pin 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 2025-07-23 14:30:45.028541264 +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" @@ -371,7 +370,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'