aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-08-30 20:23:02 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-08-30 20:23:02 +0000
commit0261513768a934dec0317a3fb8e6fd76827b61f9 (patch)
tree293608aa0fa1e535f917e9f5c892df1f74567756 /shells
parent540052a0d0d5781126164b5f252efac192cd31bc (diff)
downloadports-0261513768a934dec0317a3fb8e6fd76827b61f9.tar.gz
ports-0261513768a934dec0317a3fb8e6fd76827b61f9.zip
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/bash-completion/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile
index c7c438febff7..2347ceba5f4e 100644
--- a/shells/bash-completion/Makefile
+++ b/shells/bash-completion/Makefile
@@ -45,6 +45,11 @@ CMAKE_MODULES_DESC= Install bash-completion modules for cmake
BASH_SHARED_RUN_DEPENDS=bash:shells/bash
BASH_STATIC_RUN_DEPENDS=bash:shells/bash-static
+.include <bsd.port.pre.mk>
+
+# See PR 248829 for details
+MAKE_CMD= ${LOCALBASE}/bin/gmake
+
post-patch:
@${REINPLACE_CMD} \
-e '/^profiledir =/ s|(sysconfdir)/profile.d|(prefix)/share/bash-completion|' \
@@ -74,4 +79,4 @@ do-test:
-cd ${WRKSRC}/test && bash ${test}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>