2007-01-26 12:54:59 +00:00
|
|
|
--- pciutils-2.2.4/Makefile.strip 2007-01-26 12:44:56.000000000 +0100
|
|
|
|
+++ pciutils-2.2.4/Makefile 2007-01-26 12:43:45.000000000 +0100
|
|
|
|
@@ -27,7 +27,7 @@
|
|
|
|
all: $(PCILIB) lspci setpci lspci.8 setpci.8 update-pciids update-pciids.8 $(PCI_IDS)
|
2004-09-09 10:00:52 +00:00
|
|
|
|
2004-09-09 10:03:35 +00:00
|
|
|
$(PCILIB): $(PCIINC) force
|
2004-09-09 10:00:52 +00:00
|
|
|
- $(MAKE) -C lib all
|
|
|
|
+ CFLAGS="$(CFLAGS) -fPIC" $(MAKE) -C lib all
|
|
|
|
|
2004-09-09 10:03:35 +00:00
|
|
|
force:
|
|
|
|
|
2007-01-26 12:54:59 +00:00
|
|
|
@@ -58,7 +58,7 @@
|
2005-05-10 19:27:00 +00:00
|
|
|
install: all
|
|
|
|
# -c is ignored on Linux, but required on FreeBSD
|
2007-01-26 12:54:59 +00:00
|
|
|
$(DIRINSTALL) -m 755 $(DESTDIR)$(SBINDIR) $(DESTDIR)$(IDSDIR) $(DESTDIR)$(MANDIR)/man8
|
|
|
|
- $(INSTALL) -c -m 755 -s lspci setpci $(DESTDIR)$(SBINDIR)
|
|
|
|
+ $(INSTALL) -c -m 755 lspci setpci $(DESTDIR)$(SBINDIR)
|
|
|
|
$(INSTALL) -c -m 755 update-pciids $(DESTDIR)$(SBINDIR)
|
|
|
|
$(INSTALL) -c -m 644 $(PCI_IDS) $(DESTDIR)$(IDSDIR)
|
|
|
|
$(INSTALL) -c -m 644 lspci.8 setpci.8 update-pciids.8 $(DESTDIR)$(MANDIR)/man8
|