From e1d7992559fc65188d0ce328e4f45c581f7d9b87 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Wed, 14 Sep 2022 21:21:50 -0300 Subject: [PATCH] opendoas: avoid libpam dependency Package is failing to build because it picks up libpam dependency regardless of `BUSYBOX_CONFIG_PAM`. Use configure args --with-pam, --without-pam to assert the option. Signed-off-by: Eneas U de Queiroz (cherry picked from commit 8cb0ed95dd101b1c8d4b44482ef2033a202b030f) --- utils/opendoas/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/opendoas/Makefile b/utils/opendoas/Makefile index 78f962f3b6..23882d521d 100644 --- a/utils/opendoas/Makefile +++ b/utils/opendoas/Makefile @@ -33,6 +33,8 @@ define Package/opendoas/description of sudo with a fraction of the codebase. endef +CONFIGURE_ARGS += $(if $(CONFIG_BUSYBOX_CONFIG_PAM),--with,--without)-pam + define Package/opendoas/install $(INSTALL_DIR) $(1)/usr/bin $(CP) $(PKG_INSTALL_DIR)/usr/bin/doas $(1)/usr/bin/