diff options
Diffstat (limited to 'devel/glib20')
-rw-r--r-- | devel/glib20/Makefile | 9 | ||||
-rw-r--r-- | devel/glib20/pkg-plist | 3 |
2 files changed, 7 insertions, 5 deletions
diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index bb111a27fbab..400741e226c2 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -1,6 +1,6 @@ PORTNAME= glib DISTVERSION= 2.84.1 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 2 CATEGORIES= devel MASTER_SITES= GNOME @@ -39,7 +39,6 @@ USE_PERL5= build TRIGGERS= gio-modules glib-schemas MESON_ARGS= -Db_lundef=false \ -Ddefault_library=both \ - -Dfile_monitor_backend='libinotify-kqueue' \ -Dinstalled_tests=false \ -Dlibelf=disabled \ -Dlibmount=disabled \ @@ -85,6 +84,12 @@ BINARY_ALIAS+= g-ir-scanner=${LOCALBASE}/gobject-introspection-bootstrap/bin/g-i MESON_ARGS+= -Dintrospection=enabled .endif +.if exists(/usr/include/sys/inotify.h) +MESON_ARGS+= -Dfile_monitor_backend='inotify' +.else +MESON_ARGS+= -Dfile_monitor_backend='libinotify-kqueue' +.endif + .if ${FLAVOR:U} == default post-extract: ${CP} -r ${LOCALBASE}/gobject-introspection-bootstrap/libdata/pkgconfig ${PKGCONFIG_LINKDIR} diff --git a/devel/glib20/pkg-plist b/devel/glib20/pkg-plist index e75af2f6b0d9..4b49818bad21 100644 --- a/devel/glib20/pkg-plist +++ b/devel/glib20/pkg-plist @@ -4377,7 +4377,6 @@ share/bash-completion/completions/gsettings %%PORTDOCS%%%%DOCSDIR%%-2.0/callback.VoidFunc.html %%PORTDOCS%%%%DOCSDIR%%-2.0/character-set.html %%PORTDOCS%%%%DOCSDIR%%-2.0/checked-math.html -%%PORTDOCS%%%%DOCSDIR%%-2.0/classes_hierarchy.html %%PORTDOCS%%%%DOCSDIR%%-2.0/compiling.html %%PORTDOCS%%%%DOCSDIR%%-2.0/const.ALLOCATOR_LIST.html %%PORTDOCS%%%%DOCSDIR%%-2.0/const.ALLOCATOR_NODE.html @@ -6809,7 +6808,6 @@ share/bash-completion/completions/gsettings %%PORTDOCS%%%%DOCSDIR%%-unix-2.0/SourceCodePro-Regular.ttf.woff %%PORTDOCS%%%%DOCSDIR%%-unix-2.0/SourceCodePro-Semibold.ttf.woff %%PORTDOCS%%%%DOCSDIR%%-unix-2.0/callback.FDSourceFunc.html -%%PORTDOCS%%%%DOCSDIR%%-unix-2.0/classes_hierarchy.html %%PORTDOCS%%%%DOCSDIR%%-unix-2.0/enum.PipeEnd.html %%PORTDOCS%%%%DOCSDIR%%-unix-2.0/fonts.css %%PORTDOCS%%%%DOCSDIR%%-unix-2.0/func.closefrom.html @@ -6876,7 +6874,6 @@ share/bash-completion/completions/gsettings %%PORTDOCS%%share/doc/gmodule-2.0/SourceCodePro-Semibold.ttf.woff %%PORTDOCS%%share/doc/gmodule-2.0/callback.ModuleCheckInit.html %%PORTDOCS%%share/doc/gmodule-2.0/callback.ModuleUnload.html -%%PORTDOCS%%share/doc/gmodule-2.0/classes_hierarchy.html %%PORTDOCS%%share/doc/gmodule-2.0/const.MODULE_IMPL_AR.html %%PORTDOCS%%share/doc/gmodule-2.0/const.MODULE_IMPL_DL.html %%PORTDOCS%%share/doc/gmodule-2.0/const.MODULE_IMPL_NONE.html |