summaryrefslogtreecommitdiff
path: root/shells/bash-completion
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-10-20 01:41:34 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-10-20 01:41:34 +0800
commit01ef1f06e90f2adddad647020408b4af1dc721bb (patch)
treeac4ca7d9e951d7e0c4e9c5196ef70ab9efe9baa1 /shells/bash-completion
parentgraphics/nvidia-drm-kmod[-devel]: Fix dependency for 15.0 and later (diff)
shells/bash-completion: Fix 482cadcb07419678f225eb4e1a941e0dfb43a4ea
PR: 289914 Reported by: vanilla
Diffstat (limited to 'shells/bash-completion')
-rw-r--r--shells/bash-completion/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile
index 756ddedf803e..dd14f6ab1477 100644
--- a/shells/bash-completion/Makefile
+++ b/shells/bash-completion/Makefile
@@ -16,9 +16,6 @@ TEST_DEPENDS= runtest:misc/dejagnu \
USES= autoreconf gmake pathfix tar:xz
-.if ${ARCH} == riscv64
-EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
-.endif
GNU_CONFIGURE= yes
NO_ARCH= yes
@@ -43,6 +40,12 @@ 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
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == riscv64
+EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
+.endif
+
post-configure:
@${REINPLACE_CMD} \
-e 's|/etc/ssl/openssl.cnf|${PREFIX}& &|g' \