git: nrelease: Fix build due to 'pkg autoremove' removing itself

Aaron LI aly at crater.dragonflybsd.org
Mon Mar 31 07:28:54 PDT 2025


commit efeffb16f41197f9a77ba36f445845af788dd7ef
Author: Aaron LI <aly at aaronly.me>
Date:   Mon Mar 31 22:26:53 2025 +0800

    nrelease: Fix build due to 'pkg autoremove' removing itself
    
    Since 2025Q1, if the 'ports-mgmt/pkg' package is installed as a
    dependency of another package, it will be marked as 'automatic'
    and will be removed by a later 'pkg autoremove', which would cause
    the nrelease build to fail.  Therefore, explicitly install it to
    fix the issue.
    
    Reported-by: tuxillo
    Discussed-with: bapt

Summary of changes:
 nrelease/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list