- 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
--- /dev/null
+# 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
+
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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
}