diff options
| author | Michael Osipov <michaelo@FreeBSD.org> | 2026-02-04 12:09:30 +0000 |
|---|---|---|
| committer | Michael Osipov <michaelo@FreeBSD.org> | 2026-05-08 21:49:21 +0000 |
| commit | 7e4be0dc2b3dd3c46612aee9ef4a7851b4e4647a (patch) | |
| tree | 1883358fcf1e5893abbf957616fa53a55dd65337 | |
| parent | f6e3eec6fbb45ccdb3ece1e5db70286948535896 (diff) | |
shells/bash-completion: Don't depend on shells/bash{,-static}
Depending on the shell itself during build time create a large dependency
chain. E.g., using the pc file of this port requires bash being built although
technically not required at all. Have the user install bash as a direct
dependency.
PR: 292501
Tested by: michaelo
Approved by: sunpoet (maintainer)
| -rw-r--r-- | UPDATING | 7 | ||||
| -rw-r--r-- | shells/bash-completion/Makefile | 10 |
2 files changed, 9 insertions, 8 deletions
@@ -5,6 +5,13 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20260508: + AFFECTS: users of shells/bash-completion + AUTHOR: michaelo@FreeBSD.org + + Port does not depend on shells/bash{,-static} anymore. Install the port + directly. See PR 292138 and 292501 for details. + 20260425: AFFECTS: Users of security/openssh-portable AUTHOR: bdrewery@FreeBSD.org diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile index 59a56df0e824..d801131dcd1b 100644 --- a/shells/bash-completion/Makefile +++ b/shells/bash-completion/Makefile @@ -1,6 +1,6 @@ PORTNAME= bash-completion PORTVERSION= 2.17.0 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 2 CATEGORIES= shells MASTER_SITES= https://github.com/scop/bash-completion/releases/download/${PORTVERSION}/ @@ -28,18 +28,12 @@ SUB_LIST= RUNFILE=${DATADIR}/bash_completion.sh PORTSCOUT= limit:^[0-9\.]*$$ OPTIONS_DEFINE= CMAKE_MODULES FREEBSD ZFS -OPTIONS_SINGLE= BASH -OPTIONS_SINGLE_BASH= BASH_SHARED BASH_STATIC -OPTIONS_DEFAULT=BASH_SHARED CMAKE_MODULES FREEBSD ZFS +OPTIONS_DEFAULT=CMAKE_MODULES FREEBSD ZFS OPTIONS_SUB= yes -BASH_SHARED_DESC= Use shells/bash as backend -BASH_STATIC_DESC= Use shells/bash-static as backend CMAKE_MODULES_DESC= Install bash-completion modules for cmake FREEBSD_DESC= Add FreeBSD-specific completion ZFS_DESC= Add OpenZFS completion -BASH_SHARED_RUN_DEPENDS=bash:shells/bash -BASH_STATIC_RUN_DEPENDS=bash:shells/bash-static FREEBSD_RUN_DEPENDS= bash-completion-freebsd>=0:shells/bash-completion-freebsd ZFS_RUN_DEPENDS= bash-completion-zfs>=0:shells/bash-completion-zfs |
