From 9c889d60a21544b799ff41d9539e890a7e8efdcd Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Tue, 20 Dec 2011 17:34:05 -0600 Subject: [PATCH] script/makepkg: ignore dependency installation failure in port_load_deps since the port build process will fill in any missing --- script/makepkg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/makepkg b/script/makepkg index e33d009..4b55b61 100755 --- a/script/makepkg +++ b/script/makepkg @@ -419,6 +419,7 @@ port_fetch_recursive() { ######## # Copy in and install dependency packages +# Missing dependencies are not fatal, since a port build will rebuild them anyways port_load_deps() { local port="${1}" for pkg in $(port2pkg $(port_all_deps "${port}")) @@ -428,7 +429,7 @@ port_load_deps() { if ls "${bdeps_dir}"/*.tbz >/dev/null 2>&1 then meh "Installing dependencies" - cheval "cd ${chroot_bdeps_dir}; pkg_add -F *" || wtf "port_load_deps ${port} failed" + cheval "cd ${chroot_bdeps_dir}; pkg_add -Ff *" || wtf "port_load_deps ${port} failed" fi } -- 2.42.0