pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libepoll-shim libepoll-shim: Fix handling of .pc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7aea546dadfe
branches:  trunk
changeset: 382756:7aea546dadfe
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Aug 04 14:41:40 2022 +0000

description:
libepoll-shim: Fix handling of .pc file - this isn't FreeBSD, so don't
install it to libdata, but rather the standard location for pkgsrc.
Also use PKGCONFIG_OVERRIDE to ensure that the proper RPATH is added.

While here, delint.

diffstat:

 devel/libepoll-shim/Makefile |  14 +++++++++-----
 devel/libepoll-shim/PLIST    |   4 ++--
 2 files changed, 11 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r 089ffc611d3e -r 7aea546dadfe devel/libepoll-shim/Makefile
--- a/devel/libepoll-shim/Makefile      Thu Aug 04 14:39:16 2022 +0000
+++ b/devel/libepoll-shim/Makefile      Thu Aug 04 14:41:40 2022 +0000
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.7 2022/07/25 11:12:22 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2022/08/04 14:41:40 nia Exp $
 
+DISTNAME=      ${GITHUB_PROJECT}-0.0.20210418
+PKGNAME=       lib${DISTNAME}
+PKGREVISION=   1
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=jiixyj/}
 GITHUB_PROJECT=        epoll-shim
 GITHUB_TAG=    v${PKGVERSION_NOREV}
-DISTNAME=      ${GITHUB_PROJECT}-0.0.20210418
-PKGNAME=       lib${DISTNAME}
-CATEGORIES=    devel
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=jiixyj/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/jiixyj/epoll-shim
@@ -16,6 +17,7 @@
 USE_LANGUAGES= c c++
 
 CMAKE_ARGS+=   -DBUILD_TESTING=OFF
+CMAKE_ARGS+=   -DCMAKE_INSTALL_PKGCONFIGDIR=${PREFIX}/lib/pkgconfig
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -31,4 +33,6 @@
 PLIST.timerfd= YES
 .endif
 
+PKGCONFIG_OVERRIDE+=   epoll-shim.pc.cmakein
+
 .include "../../mk/bsd.pkg.mk"
diff -r 089ffc611d3e -r 7aea546dadfe devel/libepoll-shim/PLIST
--- a/devel/libepoll-shim/PLIST Thu Aug 04 14:39:16 2022 +0000
+++ b/devel/libepoll-shim/PLIST Thu Aug 04 14:41:40 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2021/09/21 14:44:49 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/08/04 14:41:40 nia Exp $
 include/libepoll-shim/epoll-shim/detail/common.h
 include/libepoll-shim/epoll-shim/detail/poll.h
 include/libepoll-shim/epoll-shim/detail/read.h
@@ -12,4 +12,4 @@
 lib/cmake/epoll-shim/epoll-shim-targets.cmake
 lib/libepoll-shim.so
 lib/libepoll-shim.so.0
-libdata/pkgconfig/epoll-shim.pc
+lib/pkgconfig/epoll-shim.pc



Home | Main Index | Thread Index | Old Index