Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2023 13:59:30 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Gleb Popov <arrowd@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 8bb43708468c - main - security/pam_howdy: + PAM module for Howdy Face Recognition.
Message-ID:  <jzyz-epjx-wny@FreeBSD.org>
In-Reply-To: <202303291138.32TBcnlC013883@gitrepo.freebsd.org> (Gleb Popov's message of "Wed, 29 Mar 2023 11:38:49 GMT")
References:  <202303291138.32TBcnlC013883@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Gleb Popov <arrowd@FreeBSD.org> writes:

> ++# On libintl library is required for gettext
> ++libintl_dep = meson.get_compiler('cpp').find_library('intl', required: false)

This can be simplified via https://github.com/mesonbuild/meson/commit/2c6ccfe4c407

diff --git a/security/pam_howdy/files/patch-meson.build b/security/pam_howdy/files/patch-meson.build
index 761de0f00a2c..4e565f5e2644 100644
--- a/security/pam_howdy/files/patch-meson.build
+++ b/security/pam_howdy/files/patch-meson.build
@@ -7,7 +7,7 @@
 +# On FreeBSD, libepoll-shim library is required for signalfd.h
 +epoll_shim = dependency('epoll-shim', required : false)
 +# On libintl library is required for gettext
-+libintl_dep = meson.get_compiler('cpp').find_library('intl', required: false)
++libintl_dep = dependency('intl')
 +
  # Translations
  subdir('po')



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jzyz-epjx-wny>