diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-03-03 18:07:34 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-03-03 18:07:34 +0000 |
commit | 5ad993381729d1f966dc3abb6981e2d2b23cf1c9 (patch) | |
tree | e6a7f74defe966f0f8c14289f245570a49c312ae /shells | |
parent | Use native HID backend (diff) |
Convert REINPLACE_CMD to patch file
Notes
Notes:
svn path=/head/; revision=567120
Diffstat (limited to 'shells')
-rw-r--r-- | shells/bash-completion/Makefile | 6 | ||||
-rw-r--r-- | shells/bash-completion/files/patch-Makefile.am | 20 |
2 files changed, 20 insertions, 6 deletions
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile index 2347ceba5f4e..6fe00e78aa69 100644 --- a/shells/bash-completion/Makefile +++ b/shells/bash-completion/Makefile @@ -50,12 +50,6 @@ BASH_STATIC_RUN_DEPENDS=bash:shells/bash-static # See PR 248829 for details MAKE_CMD= ${LOCALBASE}/bin/gmake -post-patch: - @${REINPLACE_CMD} \ - -e '/^profiledir =/ s|(sysconfdir)/profile.d|(prefix)/share/bash-completion|' \ - -e 's|\((datadir)/cmake\)|\1/Modules|' \ - ${WRKSRC}/Makefile.am - post-configure: @${REINPLACE_CMD} \ -e 's|/etc/ssl/openssl.cnf|${PREFIX}& &|g' \ diff --git a/shells/bash-completion/files/patch-Makefile.am b/shells/bash-completion/files/patch-Makefile.am new file mode 100644 index 000000000000..84c71f593e50 --- /dev/null +++ b/shells/bash-completion/files/patch-Makefile.am @@ -0,0 +1,20 @@ +Note that line 12 (pkgconfigdir) has been changed by USES=pathfix. + +--- Makefile.am.orig 2020-07-25 08:25:49 UTC ++++ Makefile.am +@@ -6,13 +6,13 @@ pkgdata_DATA = bash_completion + compatdir = $(sysconfdir)/bash_completion.d + compat_DATA = + +-profiledir = $(sysconfdir)/profile.d ++profiledir = $(prefix)/share/bash-completion + profile_DATA = bash_completion.sh + + pkgconfigdir = $(prefix)/libdata/pkgconfig + pkgconfig_DATA = bash-completion.pc + +-cmakeconfigdir = $(datadir)/cmake/$(PACKAGE)/ ++cmakeconfigdir = $(datadir)/cmake/Modules/$(PACKAGE)/ + cmakeconfig_DATA = bash-completion-config.cmake \ + bash-completion-config-version.cmake + |