aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-02-18 04:40:34 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-02-18 04:43:37 +0100
commit4feb914a72ab3a59f2a79d8b97cc6a0bffe53605 (patch)
treefa9f57b337c44884a937d98961e7b5a957feb0bb
parentgkbuilds/libgpg-error: do not install gpg-error-config or gpgrt-config anymore (diff)
downloadgenkernel-4feb914a72ab3a59f2a79d8b97cc6a0bffe53605.tar.gz
genkernel-4feb914a72ab3a59f2a79d8b97cc6a0bffe53605.tar.bz2
genkernel-4feb914a72ab3a59f2a79d8b97cc6a0bffe53605.zip
gkbuilds/libgpg-error: remove lock-obj-pub.${CHOST}.h workaround
Workaround for bug 584052 shouldn't be necessary anymore. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r--gkbuilds/libgpg-error.gkbuild43
1 files changed, 0 insertions, 43 deletions
diff --git a/gkbuilds/libgpg-error.gkbuild b/gkbuilds/libgpg-error.gkbuild
index 5d38e33..f03defb 100644
--- a/gkbuilds/libgpg-error.gkbuild
+++ b/gkbuilds/libgpg-error.gkbuild
@@ -1,49 +1,6 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-src_prepare() {
- default
-
- if [[ ! -f "${S}/src/syscfg/lock-obj-pub.${CHOST}.h" ]]
- then
- print_warning 3 "CHOST '${CHOST}' not known by ${P} -- workaround for bug 584052 needed ..."
- local CHOST_KNOWN=
- local -a CHOST_ARRAY=( ${CHOST//-/ } )
-
- i=0
- while [[ ${i} -lt ${#CHOST_ARRAY[@]} ]]
- do
- if [[ ${i} -eq 0 ]]
- then
- case "${CHOST_ARRAY[${i}]}" in
- arm*)
- CHOST_ARRAY[${i}]=arm
- ;;
- esac
- elif [[ ${i} -eq 1 && "${CHOST_ARRAY[${i}]}" != "unknown" ]]
- then
- CHOST_ARRAY[${i}]=unknown
- fi
-
- if [[ ${CHOST_KNOWN} != "*${CHOST_ARRAY[${i}]}*" ]]
- then
- CHOST_KNOWN+="${CHOST_ARRAY[${i}]}-"
- fi
-
- i=$((i + 1))
- done
-
- CHOST_KNOWN=${CHOST_KNOWN%-}
- if [[ ! -f "${S}/src/syscfg/lock-obj-pub.${CHOST_KNOWN}.h" ]]
- then
- print_warning 3 "We tried our best but even '${CHOST_KNOWN}' looks unknown -- good luck!"
- else
- export CHOST=${CHOST_KNOWN}
- print_warning 3 "CHOST set to '${CHOST_KNOWN}'!"
- fi
- fi
-}
-
src_configure() {
local myconf=(
--disable-nls