From d857ccad026c851ffb44ddc79fbc16c9608567bd Mon Sep 17 00:00:00 2001 From: fhajny Date: Fri, 6 Nov 2015 15:37:49 +0000 Subject: Explicitly avoid inotify on anything non-Linux. Fixes build. --- devel/ivykis/Makefile | 5 +++-- devel/ivykis/PLIST | 10 +--------- devel/ivykis/PLIST.Linux | 9 +++++++++ 3 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 devel/ivykis/PLIST.Linux diff --git a/devel/ivykis/Makefile b/devel/ivykis/Makefile index 88d515ad526..b6e6a16fcd2 100644 --- a/devel/ivykis/Makefile +++ b/devel/ivykis/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2015/11/01 13:38:52 fhajny Exp $ +# $NetBSD: Makefile,v 1.2 2015/11/06 15:37:49 fhajny Exp $ DISTNAME= ivykis-0.39 CATEGORIES= devel @@ -17,7 +17,8 @@ USE_TOOLS+= pkg-config .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "SunOS" +# Disable inotify checks on non-Linux platforms +.if ${OPSYS} != "Linux" CONFIGURE_ARGS+= ac_cv_func_inotify_init=no .endif diff --git a/devel/ivykis/PLIST b/devel/ivykis/PLIST index 405a839c5a3..65cc6510655 100644 --- a/devel/ivykis/PLIST +++ b/devel/ivykis/PLIST @@ -1,10 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1 2015/11/01 13:38:52 fhajny Exp $ +@comment $NetBSD: PLIST,v 1.2 2015/11/06 15:37:49 fhajny Exp $ include/iv.h include/iv_avl.h include/iv_event.h include/iv_event_raw.h include/iv_fd_pump.h -include/iv_inotify.h include/iv_list.h include/iv_popen.h include/iv_signal.h @@ -17,8 +16,6 @@ lib/pkgconfig/ivykis.pc man/man3/IV_EVENT_INIT.3 man/man3/IV_EVENT_RAW_INIT.3 man/man3/IV_FD_PUMP_INIT.3 -man/man3/IV_INOTIFY_INIT.3 -man/man3/IV_INOTIFY_WATCH_INIT.3 man/man3/IV_POPEN_REQUEST_INIT.3 man/man3/IV_SIGNAL_INIT.3 man/man3/IV_WAIT_INTEREST_INIT.3 @@ -50,11 +47,6 @@ man/man3/iv_fd_set_handler_out.3 man/man3/iv_fd_unregister.3 man/man3/iv_init.3 man/man3/iv_inited.3 -man/man3/iv_inotify.3 -man/man3/iv_inotify_register.3 -man/man3/iv_inotify_unregister.3 -man/man3/iv_inotify_watch_register.3 -man/man3/iv_inotify_watch_unregister.3 man/man3/iv_invalidate_now.3 man/man3/iv_main.3 man/man3/iv_popen.3 diff --git a/devel/ivykis/PLIST.Linux b/devel/ivykis/PLIST.Linux new file mode 100644 index 00000000000..13642c4678b --- /dev/null +++ b/devel/ivykis/PLIST.Linux @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST.Linux,v 1.1 2015/11/06 15:37:49 fhajny Exp $ +include/iv_inotify.h +man/man3/IV_INOTIFY_INIT.3 +man/man3/IV_INOTIFY_WATCH_INIT.3 +man/man3/iv_inotify.3 +man/man3/iv_inotify_register.3 +man/man3/iv_inotify_unregister.3 +man/man3/iv_inotify_watch_register.3 +man/man3/iv_inotify_watch_unregister.3 -- cgit v1.2.3