aboutsummaryrefslogtreecommitdiff
path: root/devel/libpci
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libpci')
-rw-r--r--devel/libpci/Makefile5
-rw-r--r--devel/libpci/pkg-plist3
2 files changed, 5 insertions, 3 deletions
diff --git a/devel/libpci/Makefile b/devel/libpci/Makefile
index 92bf37f21473..232f7c3d3b49 100644
--- a/devel/libpci/Makefile
+++ b/devel/libpci/Makefile
@@ -27,13 +27,14 @@ post-build:
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/pci.h
do-install:
- @(${INSTALL_DATA} ${WRKSRC}/lib/libpci.so ${PREFIX}/lib/libpci.so.2)
+ @(${INSTALL_DATA} ${WRKSRC}/lib/libpci.so ${PREFIX}/lib/libpci.so.3)
@(${INSTALL_DATA} ${WRKSRC}/lib/libpci.a ${PREFIX}/lib/libpci.a)
- @(${LN} -sf ${PREFIX}/lib/libpci.so.2 ${PREFIX}/lib/libpci.so)
+ @(${LN} -sf ${PREFIX}/lib/libpci.so.3 ${PREFIX}/lib/libpci.so)
@(${MKDIR} ${PREFIX}/include/pci)
@(${INSTALL_DATA} ${WRKSRC}/lib/config.h ${PREFIX}/include/pci/config.h)
@(${INSTALL_DATA} ${WRKSRC}/lib/header.h ${PREFIX}/include/pci/header.h)
@(${INSTALL_DATA} ${WRKSRC}/lib/pci.h ${PREFIX}/include/pci/pci.h)
@(${INSTALL_DATA} ${WRKSRC}/lib/types.h ${PREFIX}/include/pci/types.h)
+ @(${INSTALL_DATA} ${WRKSRC}/lib/libpci.pc ${PREFIX}/libdata/pkgconfig/libpci.pc)
.include <bsd.port.mk>
diff --git a/devel/libpci/pkg-plist b/devel/libpci/pkg-plist
index 99a57e2205ad..d354a81dadd4 100644
--- a/devel/libpci/pkg-plist
+++ b/devel/libpci/pkg-plist
@@ -4,5 +4,6 @@ include/pci/pci.h
include/pci/types.h
lib/libpci.a
lib/libpci.so
-lib/libpci.so.2
+lib/libpci.so.3
+libdata/pkgconfig/libpci.pc
@dirrm include/pci