git: bsd.{dep,lib}.mk: Simplify the sed modification to .depend
Aaron LI
aly at crater.dragonflybsd.org
Sun Nov 8 05:52:50 PST 2026
commit fd4cb4e0faec52a3fd8453b2a52215f09a1362d1
Author: Aaron LI <aly at aaronly.me>
Date: Sun Nov 8 16:44:18 2026 +0800
bsd.{dep,lib}.mk: Simplify the sed modification to .depend
Just call sed to perform in-place modification to the .depend file,
without creating a temporary file and moving it. This practice is
already used in <bsd.hostprog.mk>.
Summary of changes:
share/mk/bsd.dep.mk | 4 +---
share/mk/bsd.lib.mk | 5 +----
2 files changed, 2 insertions(+), 7 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fd4cb4e0faec52a3fd8453b2a52215f09a1362d1
--
DragonFly BSD source repository
More information about the Commits
mailing list