mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-03 11:32:02 +02:00
dev-libs/libgpg-error: Remove obsolete package
We have a newer copy in portage-stable, which is being picked up during build.
This commit is contained in:
parent
5c1af6f015
commit
a3231aa995
@ -1 +0,0 @@
|
|||||||
DIST libgpg-error-1.27.tar.bz2 813060 BLAKE2B ece50b2f6f2fc21584724c07e4285ba6e3cd7c11def7155ef1e7be1d496e0d3a7abf977afa1f618b33ca8bcd0427c0c3b46fce2d0a2b9613378f06780f1aa47c SHA512 51b313c1159074fdbbce84f63bd8afd84b3b58cd608714865b25bed84c1862d050708aa06ac3dab92f1906593df5121161e594c2809653b0fb2c236cae5dcc2f
|
|
@ -1,107 +0,0 @@
|
|||||||
From: https://bugs.gentoo.org/show_bug.cgi?id=584052
|
|
||||||
|
|
||||||
A patch for libgpg-error-1.22.ebuild (and potentially other versions) to enable
|
|
||||||
proper cross-compiling by adding the correct symlink to
|
|
||||||
"${S}"/src/syscfg/lock-obj-pub.linux-gnueabi.h.
|
|
||||||
|
|
||||||
See also: https://bugs.gnupg.org/gnupg/issue1744
|
|
||||||
|
|
||||||
Fixes errors like these:
|
|
||||||
|
|
||||||
'src/syscfg/lock-obj-pub.linux-gnu.h': No such file or directory
|
|
||||||
|
|
||||||
--- a/configure.ac 2016-06-07 22:30:57.000000000 -0400
|
|
||||||
+++ b/configure.ac 2016-06-07 22:31:20.320303654 -0400
|
|
||||||
@@ -533,6 +533,81 @@
|
|
||||||
build_doc=$enableval, build_doc=yes)
|
|
||||||
AM_CONDITIONAL([BUILD_DOC], [test "x$build_doc" != xno])
|
|
||||||
|
|
||||||
+header_file_triplet=no
|
|
||||||
+
|
|
||||||
+case $ac_cv_host in
|
|
||||||
+aarch64*-apple-darwin)
|
|
||||||
+ header_file_triplet=aarch64-apple-darwin;;
|
|
||||||
+aarch64*-linux-gnu)
|
|
||||||
+ header_file_triplet=aarch64-unknown-linux-gnu;;
|
|
||||||
+alpha*-linux-gnu)
|
|
||||||
+ header_file_triplet=alpha-unknown-linux-gnu;;
|
|
||||||
+arm*-apple-darwin)
|
|
||||||
+ header_file_triplet=arm-apple-darwin;;
|
|
||||||
+arm*-linux-androideabi)
|
|
||||||
+ header_file_triplet=arm-unknown-linux-androideabi;;
|
|
||||||
+arm*-hardfloat-linux-gnueabi)
|
|
||||||
+ header_file_triplet=arm-unknown-linux-gnueabihf;;
|
|
||||||
+arm*-linux-gnueabihf)
|
|
||||||
+ header_file_triplet=arm-unknown-linux-gnueabihf;;
|
|
||||||
+arm*-hardfloat-linux-musleabi)
|
|
||||||
+ header_file_triplet=armv6-unknown-linux-musleabihf;;
|
|
||||||
+arm*-linux-musleabihf)
|
|
||||||
+ header_file_triplet=armv6-unknown-linux-musleabihf;;
|
|
||||||
+arm*-linux-musleabi)
|
|
||||||
+ header_file_triplet=armv5-unknown-linux-musleabi;;
|
|
||||||
+arm*-linux-gnueabi)
|
|
||||||
+ header_file_triplet=arm-unknown-linux-gnueabi;;
|
|
||||||
+hppa*-linux-gnu)
|
|
||||||
+ header_file_triplet=hppa-unknown-linux-gnu;;
|
|
||||||
+i?86*freebsd-gnu)
|
|
||||||
+ header_file_triplet=i686-pc-kfreebsd-gnu;;
|
|
||||||
+i?86*-linux-gnu)
|
|
||||||
+ header_file_triplet=i686-pc-linux-gnu;;
|
|
||||||
+i?86*-pc-gnu)
|
|
||||||
+ header_file_triplet=i686-pc-gnu;;
|
|
||||||
+m68*-linux-gnu)
|
|
||||||
+ header_file_triplet=m68k-unknown-linux-gnu;;
|
|
||||||
+mingw32*)
|
|
||||||
+ header_file_triplet=mingw32;;
|
|
||||||
+mips64el*-linux-gnuabi64)
|
|
||||||
+ header_file_triplet=mips64el-unknown-linux-gnuabi64;;
|
|
||||||
+mipsel*-linux-gnu)
|
|
||||||
+ header_file_triplet=mipsel-unknown-linux-gnu;;
|
|
||||||
+mips*-linux-gnu)
|
|
||||||
+ header_file_triplet=mips-unknown-linux-gnu;;
|
|
||||||
+nios2*-linux-gnu)
|
|
||||||
+ header_file_triplet=nios2-unknown-linux-gnu;;
|
|
||||||
+or1k*-linux-gnu)
|
|
||||||
+ header_file_triplet=or1k-unknown-linux-gnu;;
|
|
||||||
+powerpc64le*-linux-gnu)
|
|
||||||
+ header_file_triplet=powerpc64le-unknown-linux-gnu;;
|
|
||||||
+powerpc64*-linux-gnu)
|
|
||||||
+ header_file_triplet=powerpc64-unknown-linux-gnu;;
|
|
||||||
+powerpc*-linux-gnu)
|
|
||||||
+ header_file_triplet=powerpc-unknown-linux-gnu;;
|
|
||||||
+s390x*-linux-gnu)
|
|
||||||
+ header_file_triplet=s390x-ibm-linux-gnu;;
|
|
||||||
+sh4*-linux-gnu)
|
|
||||||
+ header_file_triplet=sh4-unknown-linux-gnu;;
|
|
||||||
+sparc64*-linux-gnu)
|
|
||||||
+ header_file_triplet=sparc64-unknown-linux-gnu;;
|
|
||||||
+sparc*-linux-gnu)
|
|
||||||
+ header_file_triplet=sparc-unknown-linux-gnu;;
|
|
||||||
+x86_64*freebsd-gnu)
|
|
||||||
+ header_file_triplet=x86_64-pc-kfreebsd-gnu;;
|
|
||||||
+x86_64*-linux-musl)
|
|
||||||
+ header_file_triplet=x86_64-pc-linux-musl;;
|
|
||||||
+x86_64*-linux-gnux32)
|
|
||||||
+ header_file_triplet=x86_64-pc-linux-gnux32;;
|
|
||||||
+x86_64*-linux-gnu)
|
|
||||||
+ header_file_triplet=x86_64-pc-linux-gnu;;
|
|
||||||
+esac
|
|
||||||
+
|
|
||||||
+AM_CONDITIONAL([FOUND_VALID_HEADER_TRIPLET],
|
|
||||||
+ [test "x$header_file_triplet" != xno])
|
|
||||||
+AM_COND_IF([FOUND_VALID_HEADER_TRIPLET],
|
|
||||||
+ [AC_CONFIG_LINKS([src/syscfg/lock-obj-pub.$host_os.h:src/syscfg/lock-obj-pub.$header_file_triplet.h])])
|
|
||||||
|
|
||||||
#
|
|
||||||
# Substitution
|
|
||||||
--- a/src/mkheader.c 2016-04-22 03:05:37.000000000 -0400
|
|
||||||
+++ b/src/mkheader.c 2016-06-07 23:32:52.263369960 -0400
|
|
||||||
@@ -506,7 +506,7 @@
|
|
||||||
else if (!strcmp (tag, "include:lock-obj"))
|
|
||||||
{
|
|
||||||
if (try_include_file (fname, lnr, "./lock-obj-pub.native.h", write_line))
|
|
||||||
- include_file (fname, lnr, "syscfg/lock-obj-pub.&.h", write_line);
|
|
||||||
+ include_file (fname, lnr, "./syscfg/lock-obj-pub.&.h", write_line);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return 0; /* Unknown tag. */
|
|
@ -1,53 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit autotools eutils libtool ltprune multilib-minimal toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Contains error handling functions used by GnuPG software"
|
|
||||||
HOMEPAGE="http://www.gnupg.org/related_software/libgpg-error"
|
|
||||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2 LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="common-lisp nls static-libs"
|
|
||||||
|
|
||||||
RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
|
|
||||||
abi_x86_32? (
|
|
||||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
|
||||||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r12
|
|
||||||
)"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
nls? ( sys-devel/gettext )"
|
|
||||||
|
|
||||||
MULTILIB_CHOST_TOOLS=(
|
|
||||||
/usr/bin/gpg-error-config
|
|
||||||
)
|
|
||||||
MULTILIB_WRAPPED_HEADERS=(
|
|
||||||
/usr/include/gpg-error.h
|
|
||||||
/usr/include/gpgrt.h
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
epatch "${FILESDIR}/${P}-cross-compile-fix.patch"
|
|
||||||
eautoreconf
|
|
||||||
elibtoolize
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
ECONF_SOURCE="${S}" econf \
|
|
||||||
CC_FOR_BUILD="$(tc-getBUILD_CC)" \
|
|
||||||
--enable-threads \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable static-libs static) \
|
|
||||||
$(use_enable common-lisp languages) \
|
|
||||||
$(multilib_is_native_abi || echo --disable-languages)
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
einstalldocs
|
|
||||||
prune_libtool_files --all
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>crypto@gentoo.org</email>
|
|
||||||
<name>Crypto</name>
|
|
||||||
</maintainer>
|
|
||||||
<use>
|
|
||||||
<flag name="common-lisp">Install common-lisp files</flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
Loading…
x
Reference in New Issue
Block a user