summaryrefslogtreecommitdiff
path: root/shells/bash-completion
diff options
context:
space:
mode:
Diffstat (limited to 'shells/bash-completion')
-rw-r--r--shells/bash-completion/Makefile3
-rw-r--r--shells/bash-completion/files/patch-Makefile.am10
-rw-r--r--shells/bash-completion/pkg-plist2
3 files changed, 7 insertions, 8 deletions
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile
index 51b6fd924096..e456f723ada0 100644
--- a/shells/bash-completion/Makefile
+++ b/shells/bash-completion/Makefile
@@ -1,5 +1,6 @@
PORTNAME= bash-completion
PORTVERSION= 2.17.0
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= shells
MASTER_SITES= https://github.com/scop/bash-completion/releases/download/${PORTVERSION}/
@@ -14,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
TEST_DEPENDS= runtest:misc/dejagnu \
${LOCALBASE}/lib/tcllib/cmdline/cmdline.tcl:devel/tcllib
-USES= autoreconf gmake pathfix tar:xz
+USES= autoreconf gmake tar:xz
GNU_CONFIGURE= yes
NO_ARCH= yes
diff --git a/shells/bash-completion/files/patch-Makefile.am b/shells/bash-completion/files/patch-Makefile.am
index 5fbf573b21da..84f9aec9ddaf 100644
--- a/shells/bash-completion/files/patch-Makefile.am
+++ b/shells/bash-completion/files/patch-Makefile.am
@@ -1,13 +1,11 @@
-Note that the pkgconfigdir line has been changed by USES=pathfix.
-
---- Makefile.am.orig 2020-07-25 08:25:49 UTC
+--- Makefile.am.orig 2025-10-31 14:03:32 UTC
+++ Makefile.am
-@@ -6,7 +6,7 @@ pkgdata_DATA = bash_completion
+@@ -6,7 +6,7 @@ compat_DATA = bash_completion.d/000_bash_completion_co
compatdir = $(sysconfdir)/bash_completion.d
- compat_DATA =
+ compat_DATA = bash_completion.d/000_bash_completion_compat.bash
-profiledir = $(sysconfdir)/profile.d
+profiledir = $(prefix)/share/bash-completion
profile_DATA = bash_completion.sh
- pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfigdir = $(datadir)/pkgconfig
diff --git a/shells/bash-completion/pkg-plist b/shells/bash-completion/pkg-plist
index 1fa2e4d34de5..6fbd915f4faf 100644
--- a/shells/bash-completion/pkg-plist
+++ b/shells/bash-completion/pkg-plist
@@ -1,5 +1,4 @@
etc/bash_completion.d/000_bash_completion_compat.bash
-libdata/pkgconfig/bash-completion.pc
%%DATADIR%%/bash_completion
%%DATADIR%%/bash_completion.sh
%%DATADIR%%/completions/2to3
@@ -1079,3 +1078,4 @@ libdata/pkgconfig/bash-completion.pc
%%DATADIR%%/helpers/python
%%CMAKE_MODULES%%share/cmake/bash-completion/bash-completion-config-version.cmake
%%CMAKE_MODULES%%share/cmake/bash-completion/bash-completion-config.cmake
+share/pkgconfig/bash-completion.pc