blob: 429cf77a5aa337c540cf81cee075e3024bcf31bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$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
|