summaryrefslogtreecommitdiff
path: root/utils/pciutils
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-11-27 23:22:47 -0800
committerRosen Penev <rosenp@gmail.com>2019-11-27 23:30:09 -0800
commit5256c104e831f477f336646dadbe80fb4488faa1 (patch)
treef555cc4bc1cc2a2647deca40b46db4ea63130bfa /utils/pciutils
parent1b2e94e537e901b989727514f591be8140718f88 (diff)
pciutils: Fix pkgconfig file
It's pointing to the host. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'utils/pciutils')
-rw-r--r--utils/pciutils/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/pciutils/Makefile b/utils/pciutils/Makefile
index ed287eeff..52bc1f1e3 100644
--- a/utils/pciutils/Makefile
+++ b/utils/pciutils/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pciutils
PKG_VERSION:=3.6.2
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/software/utils/pciutils
@@ -83,6 +83,8 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_BUILD_DIR)/lib/libpci.pc $(1)/usr/lib/pkgconfig
+ $(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libpci.pc
+ $(SED) 's,/usr/lib,$$$${prefix}/lib,g' $(1)/usr/lib/pkgconfig/libpci.pc
$(INSTALL_DIR) $(1)/usr/include/pci
$(CP) $(foreach i,pci.h config.h header.h types.h, \
$(PKG_BUILD_DIR)/lib/$(i)) $(1)/usr/include/pci