diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-27 14:08:55 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-29 02:28:23 +0000 |
commit | 3db28eb5c6b781f5f24b2d15fcd40174bba4f7da (patch) | |
tree | 92dfa9bc0f4e2560701e7e2bf8a5e8cd2f1a6e8a /dev-libs/apr | |
parent | dev-build/libtool: simplify defining tool names to their basename (diff) | |
download | gentoo-3db28eb5c6b781f5f24b2d15fcd40174bba4f7da.tar.gz gentoo-3db28eb5c6b781f5f24b2d15fcd40174bba4f7da.tar.bz2 gentoo-3db28eb5c6b781f5f24b2d15fcd40174bba4f7da.zip |
dev-libs/apr: simplify defining tool names to their basename
This logic is copied from dev-build/libtool. Sync it with the recent
change to libtool.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/apr')
-rw-r--r-- | dev-libs/apr/apr-1.7.4-r2.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-libs/apr/apr-1.7.4-r2.ebuild b/dev-libs/apr/apr-1.7.4-r2.ebuild index d74a3b41b387..1a50b553b4c1 100644 --- a/dev-libs/apr/apr-1.7.4-r2.ebuild +++ b/dev-libs/apr/apr-1.7.4-r2.ebuild @@ -56,12 +56,12 @@ src_configure() { # cause problems for people who switch /bin/sh on the fly to other # shells, so just force libtool to use /bin/bash all the time. export CONFIG_SHELL="${EPREFIX}"/bin/bash - export ac_cv_path_SED="$(basename "$(type -P sed)")" - export ac_cv_path_EGREP="$(basename "$(type -P grep)") -E" - export ac_cv_path_EGREP_TRADITIONAL="$(basename "$(type -P grep)") -E" - export ac_cv_path_FGREP="$(basename "$(type -P grep)") -F" - export ac_cv_path_GREP="$(basename "$(type -P grep)")" - export ac_cv_path_lt_DD="$(basename "$(type -P dd)")" + export ac_cv_path_SED="sed" + export ac_cv_path_EGREP="grep -E" + export ac_cv_path_EGREP_TRADITIONAL="grep -E" + export ac_cv_path_FGREP="grep -F" + export ac_cv_path_GREP="grep" + export ac_cv_path_lt_DD="dd" local myconf=( --enable-layout=gentoo |