Gentoo Archives: gentoo-commits

From: Thomas Beierlein <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libzia/files/, dev-libs/libzia/
Date: Sat, 20 Oct 2018 09:30:17
Message-Id: 1540027749.65da68803100e8ceb8c78c6bf42f1cc2f4f2f285.tomjbe@gentoo
1 commit: 65da68803100e8ceb8c78c6bf42f1cc2f4f2f285
2 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 20 09:29:09 2018 +0000
4 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 20 09:29:09 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65da6880
7
8 dev-libs/libzia: Fix build problems
9
10 - Package did only build if older version was already installed.
11 - Disable parallel build, as one part of the package needs the library
12 to already be build.
13
14 Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
15 Package-Manager: Portage-2.3.51, Repoman-2.3.11
16
17 dev-libs/libzia/files/libzia-4.14-ldadd.patch | 16 ++++++++++++++++
18 dev-libs/libzia/libzia-4.14.ebuild | 9 +++++++--
19 2 files changed, 23 insertions(+), 2 deletions(-)
20
21 diff --git a/dev-libs/libzia/files/libzia-4.14-ldadd.patch b/dev-libs/libzia/files/libzia-4.14-ldadd.patch
22 new file mode 100644
23 index 00000000000..a8636e1d127
24 --- /dev/null
25 +++ b/dev-libs/libzia/files/libzia-4.14-ldadd.patch
26 @@ -0,0 +1,16 @@
27 +# add local .libs directory to library search path during build of zsdltest
28 +--- src/Makefile.am.orig 2018-10-19 18:19:54.067784664 +0200
29 ++++ src/Makefile.am 2018-10-19 18:20:26.419265774 +0200
30 +@@ -71,9 +71,10 @@
31 +
32 + zsdltest_SOURCES = zsdltest.c
33 + zsdltest_LDFLAGS = -lzia
34 ++zsdltest_LDADD = -L.libs
35 +
36 +-gpiotest_SOURCES = gpiotest.c
37 +-gpiotest_LDFLAGS = -lzia
38 ++#gpiotest_SOURCES = gpiotest.c
39 ++#gpiotest_LDFLAGS = -lzia
40 +
41 + EXTRA_DIST = regcomp.c regex_internal.c regexec.c
42 +
43
44 diff --git a/dev-libs/libzia/libzia-4.14.ebuild b/dev-libs/libzia/libzia-4.14.ebuild
45 index faa975e860a..8182298faa8 100644
46 --- a/dev-libs/libzia/libzia-4.14.ebuild
47 +++ b/dev-libs/libzia/libzia-4.14.ebuild
48 @@ -1,4 +1,4 @@
49 -# Copyright 1999-2018 Gentoo Foundation
50 +# Copyright 1999-2018 Gentoo Authors
51 # Distributed under the terms of the GNU General Public License v2
52
53 EAPI=6
54 @@ -22,10 +22,15 @@ RDEPEND="dev-libs/glib:2
55 DEPEND="${RDEPEND}
56 virtual/pkgconfig"
57
58 +PATCHES=( "${FILESDIR}"/$P-ldadd.patch )
59 +
60 +MAKEOPTS+=" -j1"
61 +
62 src_prepare() {
63 eapply_user
64 + eapply -p0 ${PATCHES}
65 sed -i -e "s/docsdir/#docsdir/g" \
66 - -e "s/docs_/#docs_/g" Makefile.am || die
67 + -e "s/docs_/#docs_/g" Makefile.am || die
68 eautoreconf
69 }