git: <bsd.dep.mk>: Several tweaks and style cleanups

Aaron LI aly at crater.dragonflybsd.org
Fri Apr 3 17:08:20 PDT 2026


commit a5c5e41c4e22a8aa01a3482306cb3b75dec603bd
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Apr 3 20:01:10 2026 +0800

    <bsd.dep.mk>: Several tweaks and style cleanups
    
    * Remove duplicate ':N*.cpp' from ${_ALL_DEPENDS}.
    
    * Simplify '!empty(${_FG:M_})' to be '${_FG} == "_"'.
    
    * Replace `cmd` with $(cmd), which is clearer in expressing nested
      command substitution.
    
    * Adjust indentations and add comments to help read the complex flow.

Summary of changes:
 share/mk/bsd.dep.mk | 76 ++++++++++++++++++++++++++++-------------------------
 1 file changed, 40 insertions(+), 36 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a5c5e41c4e22a8aa01a3482306cb3b75dec603bd


-- 
DragonFly BSD source repository


More information about the Commits mailing list