From: Kent Fredric Date: Thu, 23 Apr 2020 02:34:11 +0000 (+1200) Subject: dev-perl/Ace: -r1 bump: Employ patches for rpc.h on musl and uclibc X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=90ccff12204e3fb613c75a85a7a2fc832f36b544;p=gentoo.git dev-perl/Ace: -r1 bump: Employ patches for rpc.h on musl and uclibc Also: - Moved to EAPI7 - And note about licensing situation - Restrict mirroring due to license situation - Add warning for consumers to make them know about the issues at least as an intermediary solution. - Now installs DISCLAIMER.txt in doc/ Bug: https://bugs.gentoo.org/716266 Bug: https://bugs.gentoo.org/718936 Package-Manager: Portage-2.3.97, Repoman-2.3.22 Signed-off-by: Kent Fredric --- diff --git a/dev-perl/Ace/Ace-1.920.0-r4.ebuild b/dev-perl/Ace/Ace-1.920.0-r4.ebuild new file mode 100644 index 000000000000..ceb1838ad0af --- /dev/null +++ b/dev-perl/Ace/Ace-1.920.0-r4.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_NAME=AcePerl +DIST_AUTHOR=LDS +DIST_VERSION=1.92 +DIST_EXAMPLES=("examples/*") +inherit perl-module toolchain-funcs + +DESCRIPTION="Object-Oriented Access to ACEDB Databases" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test ) mirror" +# License note: Indemnification and Attribution-if-Used bug #718936 +RDEPEND=" + virtual/perl-Digest-MD5 + dev-perl/Cache-Cache + dev-perl/GD +" +DEPEND=" + elibc_glibc? ( net-libs/libtirpc net-libs/rpcsvc-proto ) + elibc_musl? ( net-libs/libtirpc net-libs/rpcsvc-proto ) + elibc_uclibc? ( net-libs/libtirpc net-libs/rpcsvc-proto ) +" +BDEPEND=" + ${RDEPEND} + ${DEPEND} +" +mydoc="DISCLAIMER.txt" +src_prepare() { + eapply "${FILESDIR}/${PN}-1.92-rpcxs.patch" + eapply "${FILESDIR}/${PN}-1.92-gcc-nonvoid.patch" + + cat > "${S}/acelib/wmake/DARWIN_DEF" <