From ed3df000c972e798af4fca62f069f9484d928d99 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sun, 17 Oct 2010 00:20:07 -0500 Subject: [PATCH] script/makepkg: stub makeinfo and install-info to quell port build/install failures if world was built WITHOUT_INFO --- script/makepkg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/script/makepkg b/script/makepkg index 9e97e13..af65988 100755 --- a/script/makepkg +++ b/script/makepkg @@ -57,6 +57,11 @@ chprepare() { [ -f "${conf_dir}/make.conf" ] && cp -p "${conf_dir}/make.conf" "${chroot_dir}/etc/make.conf" [ -f "${conf_dir}/port_options.cpio" ] && ( cd ${chroot_dir}/var/db/ports; cpio -iv ) < "${conf_dir}/port_options.cpio" + # If you have WITHOUT_INFO set in src.conf during buildworld/installworld, ports that need + # makeinfo and install-info will fail horribly; stub them + [ -f "${chroot_dir}/usr/bin/makeinfo" ] || ln -sf true "${chroot_dir}/usr/bin/makeinfo" + [ -f "${chroot_dir}/usr/bin/install-info" ] || ln -sf true "${chroot_dir}/usr/bin/install-info" + trap "" exit hup int term kill meh "Chroot tree set up in ${chroot_dir}" -- 2.42.0