$NetBSD: patch-lib_configure,v 1.1 2025/02/28 23:21:14 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-02-28 18:40:40.619585843 +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" @@ -355,7 +354,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'