git: Makefile.inc1: Fix build-all/install-all/buildportschroot log directory
Aaron LI
aly at crater.dragonflybsd.org
Tue Mar 3 00:17:05 PST 2026
commit b931e3c28f1501a705efe03cc2a8a6ea4792099d
Author: Aaron LI <aly at aaronly.me>
Date: Tue Mar 3 09:52:34 2026 +0800
Makefile.inc1: Fix build-all/install-all/buildportschroot log directory
The log directory was ${GENLOGDIR} which hardcoded the "/usr/obj"
top-level directory. If user defines a custom MAKEOBJDIRPREFIX, the
GENLOGDIR would become wrong. Fix the issue by replacing GENLOGDIR with
DESTDIRBASE. In addition, remove the unnecessary 'mkdir ${GENLOGDIR}'.
While there, change the 'ldconfig' command in chroot to be
'/bin/sh -c "rcrestart ldconfig"', aligning with the one used in
nrelease/Makefile.
Summary of changes:
Makefile.inc1 | 43 ++++++++++++++++++++-----------------------
1 file changed, 20 insertions(+), 23 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b931e3c28f1501a705efe03cc2a8a6ea4792099d
--
DragonFly BSD source repository
More information about the Commits
mailing list