mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
net-libs/rpc2: update EAPI 6 -> 8
Closes: https://bugs.gentoo.org/716076 Closes: https://bugs.gentoo.org/725048 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
parent
8dc26a90c1
commit
33937f23c9
10
net-libs/rpc2/files/rpc2-2.14-include.patch
Normal file
10
net-libs/rpc2/files/rpc2-2.14-include.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/rpc2-src/rpc2b.c
|
||||
+++ b/rpc2-src/rpc2b.c
|
||||
@@ -42,6 +42,7 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
+#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
21
net-libs/rpc2/files/rpc2-2.14-respect-flags.patch
Normal file
21
net-libs/rpc2/files/rpc2-2.14-respect-flags.patch
Normal file
@ -0,0 +1,21 @@
|
||||
--- a/rp2gen/Makefile.in
|
||||
+++ b/rp2gen/Makefile.in
|
||||
@@ -198,7 +198,8 @@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
# override any cross compilation target flags
|
||||
-CFLAGS = -Wall
|
||||
+AM_CFLAGS = -Wall
|
||||
+CFLAGS = @CFLAGS@
|
||||
CONFIG_DATE = @CONFIG_DATE@
|
||||
CP = @CP@
|
||||
CPP = @CPP@
|
||||
@@ -225,7 +226,7 @@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
-LDFLAGS =
|
||||
+LDFLAGS = @LDFLAGS@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Remote procedure call package for IP/UDP (used by Coda)"
|
||||
HOMEPAGE="http://www.coda.cs.cmu.edu/"
|
||||
@ -10,17 +10,17 @@ SRC_URI="http://www.coda.cs.cmu.edu/pub/rpc2/src/${P}.tar.xz"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=sys-libs/lwp-2.5"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-respect-flags.patch
|
||||
"${FILESDIR}"/${P}-include.patch
|
||||
)
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc README.ipv6
|
||||
use static-libs || find "${ED}"/usr -name '*.la' -delete
|
||||
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user