mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 07:31:01 +02:00
dev-build/libtool: Sync with Gentoo
It's from Gentoo commit 411f7e106012a6af37a5d14e2a62572c2f0b4f6a.
This commit is contained in:
parent
fb63facaae
commit
2ac986ff31
@ -98,11 +98,15 @@ src_configure() {
|
|||||||
# to find a bash shell. if /bin/sh is bash, it uses that. this can
|
# to find a bash shell. if /bin/sh is bash, it uses that. this can
|
||||||
# cause problems for people who switch /bin/sh on the fly to other
|
# 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.
|
# shells, so just force libtool to use /bin/bash all the time.
|
||||||
export CONFIG_SHELL="${EPREFIX}"/bin/bash
|
|
||||||
|
|
||||||
# Do not bother hardcoding the full path to sed.
|
# Do not bother hardcoding the full path to sed.
|
||||||
# Just rely on $PATH. bug #574550
|
# Just rely on $PATH. bug #574550
|
||||||
export ac_cv_path_SED="$(basename "$(type -P sed)")"
|
export CONFIG_SHELL="${EPREFIX}"/bin/bash
|
||||||
|
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"
|
||||||
|
|
||||||
[[ ${CHOST} == *-darwin* ]] && local myconf="--program-prefix=g"
|
[[ ${CHOST} == *-darwin* ]] && local myconf="--program-prefix=g"
|
||||||
|
|
@ -96,11 +96,15 @@ src_configure() {
|
|||||||
# to find a bash shell. if /bin/sh is bash, it uses that. this can
|
# to find a bash shell. if /bin/sh is bash, it uses that. this can
|
||||||
# cause problems for people who switch /bin/sh on the fly to other
|
# 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.
|
# shells, so just force libtool to use /bin/bash all the time.
|
||||||
export CONFIG_SHELL="${EPREFIX}"/bin/bash
|
|
||||||
|
|
||||||
# Do not bother hardcoding the full path to sed.
|
# Do not bother hardcoding the full path to sed.
|
||||||
# Just rely on $PATH. bug #574550
|
# Just rely on $PATH. bug #574550
|
||||||
|
export CONFIG_SHELL="${EPREFIX}"/bin/bash
|
||||||
export ac_cv_path_SED="$(basename "$(type -P sed)")"
|
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)")"
|
||||||
|
|
||||||
[[ ${CHOST} == *-darwin* ]] && local myconf="--program-prefix=g"
|
[[ ${CHOST} == *-darwin* ]] && local myconf="--program-prefix=g"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user