svn commit: r547121 - head/shells/bash-completion
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Aug 30 20:23:07 UTC 2020
Author: sunpoet
Date: Sun Aug 30 20:23:02 2020
New Revision: 547121
URL: https://svnweb.freebsd.org/changeset/ports/547121
Log:
Fix cross-build with qemu-user-static
PR: 248829
Submitted by: Christian Ullrich <chris at chrullrich.net>
Modified:
head/shells/bash-completion/Makefile
Modified: head/shells/bash-completion/Makefile
==============================================================================
--- head/shells/bash-completion/Makefile Sun Aug 30 20:22:57 2020 (r547120)
+++ head/shells/bash-completion/Makefile Sun Aug 30 20:23:02 2020 (r547121)
@@ -45,6 +45,11 @@ CMAKE_MODULES_DESC= Install bash-completion modules fo
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>
More information about the svn-ports-all
mailing list