[Buildroot] [PATCH 1/1] package/ecryptfs-utils: add host-pkgconf dependency

Arnout Vandecappelle arnout at mind.be
Mon Jun 13 20:23:02 UTC 2022



On 09/06/2022 23:14, Fabrice Fontaine wrote:
> Add host-pkgconf dependency to fix the following build failure (e.g. with
> BR2_PER_PACKAGE_DIRECTORIES):
> 
> configure: error: OpenSSL not found
> 
> As a side-effect, NSS_{CFLAGS,LIBS} can be dropped
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/ea16957e8f048b713f5d2713aa5f0c157b62f574
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

  Applied to master, thanks.


> ---
>   package/ecryptfs-utils/ecryptfs-utils.mk | 8 ++------
>   1 file changed, 2 insertions(+), 6 deletions(-)
> 
> diff --git a/package/ecryptfs-utils/ecryptfs-utils.mk b/package/ecryptfs-utils/ecryptfs-utils.mk
> index f087e81a42..737c5b0ebb 100644
> --- a/package/ecryptfs-utils/ecryptfs-utils.mk
> +++ b/package/ecryptfs-utils/ecryptfs-utils.mk
> @@ -11,14 +11,10 @@ ECRYPTFS_UTILS_LICENSE = GPL-2.0+
>   ECRYPTFS_UTILS_LICENSE_FILES = COPYING
>   ECRYPTFS_UTILS_CPE_ID_VENDOR = ecryptfs
>   
> -ECRYPTFS_UTILS_DEPENDENCIES = keyutils libnss host-intltool
> +ECRYPTFS_UTILS_DEPENDENCIES = host-pkgconf keyutils libnss host-intltool

  In the future, it would be nice to take the opportunity to change it to one 
per line and alphabetical.

  Regards,
  Arnout

>   ECRYPTFS_UTILS_CONF_OPTS = --disable-pywrap
>   
> -#Needed for build system to find pk11func.h and libnss3.so
> -ECRYPTFS_UTILS_CONF_ENV = \
> -	ac_cv_path_POD2MAN=true \
> -	NSS_CFLAGS="-I$(STAGING_DIR)/usr/include/nss -I$(STAGING_DIR)/usr/include/nspr" \
> -	NSS_LIBS="-lnss3"
> +ECRYPTFS_UTILS_CONF_ENV = ac_cv_path_POD2MAN=true
>   
>   ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
>   ECRYPTFS_UTILS_CONF_OPTS += --enable-pam



More information about the buildroot mailing list