diff options
author | Eric Wong <e@80x24.org> | 2023-09-09 12:01:39 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-09-09 21:44:00 +0000 |
commit | 849ec722fd28501c6a4f061c3169c0705be4153c (patch) | |
tree | f666e44c82cb08a91b42787feb94379f085fe9ea /ci/profiles.perl | |
parent | 681db9d73975915c605f4b712fb856b841fa0b23 (diff) | |
download | public-inbox-849ec722fd28501c6a4f061c3169c0705be4153c.tar.gz |
Diffstat (limited to 'ci/profiles.perl')
-rwxr-xr-x | ci/profiles.perl | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/ci/profiles.perl b/ci/profiles.perl index 3d67143a..5b441790 100755 --- a/ci/profiles.perl +++ b/ci/profiles.perl @@ -56,7 +56,8 @@ EOM } my $PKG_FMT = do { if ($ID eq 'freebsd') { 'pkg' } - # *shrug*, as long as the name doesn't conflict with FreeBSD's + # *shrug*, as long as the (Net|Open)BSD names don't conflict w/ FreeBSD + elsif ($ID eq 'netbsd') { 'pkgin' } elsif ($ID eq 'openbsd') { 'pkg_add' } elsif ($ID =~ m!\A(?:debian|ubuntu)\z!) { 'deb' } elsif ($ID =~ m!\A(?:centos|redhat|fedora)\z!) { 'rpm' } @@ -65,7 +66,8 @@ my $PKG_FMT = do { # these package group names and '-' syntax are passed to ci/deps.perl my $TASKS = do { - if ($ID eq 'freebsd') { <<EOM + if ($ID =~ /\A(?:free|net|open)bsd\z/) { <<EOM +all devtest Search::Xapian- all devtest IO::KQueue- all devtest IO::KQueue all devtest Inline::C- @@ -84,12 +86,6 @@ v2essential devtest essential devtest all Search::Xapian- EOM - } elsif ($ID eq 'openbsd') { <<EOM -all devtest Inline::C- -all devtest Inline::C -all devtest IO::KQueue- -all devtest IO::KQueue -EOM } else { die "TODO: support ID=$ID VERSION_ID=$VERSION_ID" } }; |