re-instate the installation of the pkgconfig file, as needed by an upcoming polybar port

ok kirby@ (MAINTAINER)
This commit is contained in:
jasper 2019-09-19 13:33:57 +00:00
parent 95b7ce213c
commit bc717ec1c6
3 changed files with 20 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2019/07/12 20:44:39 sthen Exp $
# $OpenBSD: Makefile,v 1.13 2019/09/19 13:33:57 jasper Exp $
COMMENT = kevent based inotify
@ -6,6 +6,7 @@ GH_ACCOUNT = libinotify-kqueue
GH_PROJECT = libinotify-kqueue
GH_TAGNAME = 20170711
PKGNAME = libinotify-${GH_TAGNAME}
REVISION = 0
SHARED_LIBS = inotify 2.1
@ -28,7 +29,6 @@ AUTOMAKE_VERSION = 1.14
TEST_TARGET = test
post-install:
@rm -rf ${WRKINST}${LOCALBASE}/lib/inotify/pkgconfig
FAKE_FLAGS += pkgconfigdir=${PREFIX}/lib/pkgconfig/
.include <bsd.port.mk>

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-libinotify_pc_in,v 1.1 2019/09/19 13:33:57 jasper Exp $
Index: libinotify.pc.in
--- libinotify.pc.in.orig
+++ libinotify.pc.in
@@ -1,7 +1,7 @@
prefix=@prefix@
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include
+libdir=${exec_prefix}/lib/inotify
+includedir=${prefix}/include/inotify
Name: @PACKAGE_NAME@
Description: Kqueue based inotify shim library

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2017/08/30 05:37:36 dcoppa Exp $
@comment $OpenBSD: PLIST,v 1.3 2019/09/19 13:33:57 jasper Exp $
include/inotify/
include/inotify/sys/
include/inotify/sys/inotify.h
@ -6,6 +6,7 @@ lib/inotify/
lib/inotify/libinotify.a
lib/inotify/libinotify.la
@lib lib/inotify/libinotify.so.${LIBinotify_VERSION}
lib/pkgconfig/libinotify.pc
@man man/man3/inotify_add_watch.3
@man man/man3/inotify_event.3
@man man/man3/inotify_init.3