pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libepoll-shim



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Aug  4 14:41:40 UTC 2022

Modified Files:
        pkgsrc/devel/libepoll-shim: Makefile PLIST

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/libepoll-shim/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/libepoll-shim/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libepoll-shim/Makefile
diff -u pkgsrc/devel/libepoll-shim/Makefile:1.7 pkgsrc/devel/libepoll-shim/Makefile:1.8
--- pkgsrc/devel/libepoll-shim/Makefile:1.7     Mon Jul 25 11:12:22 2022
+++ pkgsrc/devel/libepoll-shim/Makefile Thu Aug  4 14:41:40 2022
@@ -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 $
 
-GITHUB_PROJECT=        epoll-shim
-GITHUB_TAG=    v${PKGVERSION_NOREV}
 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}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/jiixyj/epoll-shim
@@ -16,6 +17,7 @@ USE_CMAKE=    yes
 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.eventfd=        YES
 PLIST.timerfd= YES
 .endif
 
+PKGCONFIG_OVERRIDE+=   epoll-shim.pc.cmakein
+
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/libepoll-shim/PLIST
diff -u pkgsrc/devel/libepoll-shim/PLIST:1.2 pkgsrc/devel/libepoll-shim/PLIST:1.3
--- pkgsrc/devel/libepoll-shim/PLIST:1.2        Tue Sep 21 14:44:49 2021
+++ pkgsrc/devel/libepoll-shim/PLIST    Thu Aug  4 14:41:40 2022
@@ -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-
 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