mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-libs/libzia: Fix build problems
- Package did only build if older version was already installed. - Disable parallel build, as one part of the package needs the library to already be build. Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
16
dev-libs/libzia/files/libzia-4.14-ldadd.patch
Normal file
16
dev-libs/libzia/files/libzia-4.14-ldadd.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
# add local .libs directory to library search path during build of zsdltest
|
||||
--- src/Makefile.am.orig 2018-10-19 18:19:54.067784664 +0200
|
||||
+++ src/Makefile.am 2018-10-19 18:20:26.419265774 +0200
|
||||
@@ -71,9 +71,10 @@
|
||||
|
||||
zsdltest_SOURCES = zsdltest.c
|
||||
zsdltest_LDFLAGS = -lzia
|
||||
+zsdltest_LDADD = -L.libs
|
||||
|
||||
-gpiotest_SOURCES = gpiotest.c
|
||||
-gpiotest_LDFLAGS = -lzia
|
||||
+#gpiotest_SOURCES = gpiotest.c
|
||||
+#gpiotest_LDFLAGS = -lzia
|
||||
|
||||
EXTRA_DIST = regcomp.c regex_internal.c regexec.c
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -22,10 +22,15 @@ RDEPEND="dev-libs/glib:2
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/$P-ldadd.patch )
|
||||
|
||||
MAKEOPTS+=" -j1"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
eapply -p0 ${PATCHES}
|
||||
sed -i -e "s/docsdir/#docsdir/g" \
|
||||
-e "s/docs_/#docs_/g" Makefile.am || die
|
||||
-e "s/docs_/#docs_/g" Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user