diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2023-05-11 14:43:15 +0200 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2023-05-11 14:55:24 +0200 |
commit | 14e02412101377577b6f03d13c81cef464ce0fba (patch) | |
tree | f4e2e03394843bedbf875110a22c905d4d85d88b | |
parent | games/sgt-puzzles: update 20230504 → 20230508 (diff) |
Tools/scripts/bump_revision.pl: default on -l instead of -g
-g option means also bump portevision of indirect dependencies,
this is not required by default since at least FreeBSD 11 when we
stopped recursively copying DT_NEEDED
-rwxr-xr-x | Tools/scripts/bump_revision.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/scripts/bump_revision.pl b/Tools/scripts/bump_revision.pl index b2196bb3b1ee..da306eca6097 100755 --- a/Tools/scripts/bump_revision.pl +++ b/Tools/scripts/bump_revision.pl @@ -37,8 +37,8 @@ sub usage { Usage: $0 [options] [<category>/]<portname> Options: - -l - shaLlow, only bump ports with direct dependencies. - -g - Grandchildren, also bump for indirect dependencies (default). + -l - shaLlow, only bump ports with direct dependencies. (default). + -g - Grandchildren, also bump for indirect dependencies. -n - Check only (dry-run), do not change Makefiles. -f - No tmpdir, just use the directory where INDEX resides. -i <filename> - Use this for INDEX name. Defaults to \${PORTSDIR}/INDEX-n, @@ -125,8 +125,8 @@ my ($portsdir, $INDEX); die "Options -g and -l given, which are mutually exclusive. Pick either."; } if (not $opt_l and not $opt_g) { - warn "Neither -g nor -l given. Defaulting to -g"; - $opt_g = 1; + warn "Neither -g nor -l given. Defaulting to -l"; + $opt_l = 1; } $portsdir = $opt_p ? $opt_p : '/usr/ports'; |