From a64a21ee61fb3f7a52f560d07e451bfb04379c5f Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Feb 14 2020 13:34:30 +0000 Subject: groups/2*.native_packages_*.group: adds dependencies. subr/ex_pkg_dispatch.subr:exp_pkg_check_depends(): forcibly rebuild all dependencies w/ -r **[ ...] vs. -r *[ ... ]. --- diff --git a/groups/241.native_packages_inet.group b/groups/241.native_packages_inet.group index cb8ac8b..6877d41 100644 --- a/groups/241.native_packages_inet.group +++ b/groups/241.native_packages_inet.group @@ -132,7 +132,7 @@ w3m weechat wget whois"; : ${PKG_OPENLITESPEED_IN_TREE:=1}; : ${PKG_OPENLITESPEED_MAKEFLAGS_BUILD:=-j1}; : ${PKG_OPENLITESPEED_PREFIX:=${PREFIX_NATIVE}/lsws}; -: ${PKG_OPENSMTPD_DEPENDS:="libasr libressl musl_fts"}; +: ${PKG_OPENSMTPD_DEPENDS:="libasr libevent libressl musl_fts"}; : ${PKG_OPENSMTPD_SHA256SUM:=eb1bedbfb23d9f08f509d92d8efcaf51d56fb2f44492f40ec059d41124a2f1d9}; : ${PKG_OPENSMTPD_VERSION:=6.6.1p1}; : ${PKG_OPENSMTPD_URL:=https://www.opensmtpd.org/archives/opensmtpd-${PKG_OPENSMTPD_VERSION}.tar.gz} diff --git a/subr/ex_pkg_dispatch.subr b/subr/ex_pkg_dispatch.subr index 13b2a6d..3680b27 100644 --- a/subr/ex_pkg_dispatch.subr +++ b/subr/ex_pkg_dispatch.subr @@ -9,7 +9,7 @@ exp_pkg_check_depends() { local _group_name="${1}" _pkg_depends="${2}" _pkg_name="${3}" _dependfl=0; if ! [ -n "${_restart}" ]\ - || [ "${ARG_RESTART_RECURSIVE:-0}" -eq 1 ]; then + || [ "${ARG_RESTART_RECURSIVE:-0}" -ge 1 ]; then for _pkg_name_depend in ${_pkg_depends}; do if [ -n "$(ex_rtl_lsearch "${_pkgs_wait}" "${_pkg_name_depend}")" ]\ || [ -z "$(ex_rtl_lsearch "${_pkgs_complete}" "${_pkg_name_depend}")" ]; then