install epoll-shim.pc to the correct directory and remove -lrt from Libs.private while here
ok jca@
This commit is contained in:
parent
01b93143d2
commit
bf8969e11e
@ -4,6 +4,8 @@ GH_ACCOUNT= jiixyj
|
||||
GH_PROJECT= epoll-shim
|
||||
GH_TAGNAME= v0.0.20210418
|
||||
|
||||
REVISION= 0
|
||||
|
||||
SHARED_LIBS= epoll-shim 0.1
|
||||
|
||||
CATEGORIES= devel
|
||||
@ -19,4 +21,6 @@ WANTLIB= pthread
|
||||
|
||||
MODULES= devel/cmake
|
||||
|
||||
CONFIGURE_ARGS+=-DCMAKE_INSTALL_PKGCONFIGDIR=${LOCALBASE}/lib/pkgconfig
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
10
devel/epoll-shim/patches/patch-epoll-shim_pc_cmakein
Normal file
10
devel/epoll-shim/patches/patch-epoll-shim_pc_cmakein
Normal file
@ -0,0 +1,10 @@
|
||||
Index: epoll-shim.pc.cmakein
|
||||
--- epoll-shim.pc.cmakein.orig
|
||||
+++ epoll-shim.pc.cmakein
|
||||
@@ -8,5 +8,5 @@ URL: https://github.com/jiixyj/epoll-shim
|
||||
Description: Small epoll implementation using kqueue
|
||||
Version:
|
||||
Libs: -L${libdir} -lepoll-shim
|
||||
-Libs.private: -pthread -lrt
|
||||
+Libs.private: -pthread
|
||||
Cflags: -I${includedir}/libepoll-shim
|
@ -16,5 +16,4 @@ lib/cmake/epoll-shim/epoll-shim-config.cmake
|
||||
lib/cmake/epoll-shim/epoll-shim-targets${MODCMAKE_BUILD_SUFFIX}
|
||||
lib/cmake/epoll-shim/epoll-shim-targets.cmake
|
||||
@lib lib/libepoll-shim.so.${LIBepoll-shim_VERSION}
|
||||
libdata/pkgconfig/
|
||||
libdata/pkgconfig/epoll-shim.pc
|
||||
lib/pkgconfig/epoll-shim.pc
|
||||
|
Loading…
Reference in New Issue
Block a user