Also fix pkg-config variable prefix in configure.ac:
./configure: line 1425: ac_env_libxml-2.0_CFLAGS_set=2.0_CFLAGS+set:
command not found
(etc.)
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Closes: https://bugs.gentoo.org/show_bug.cgi?id=706928
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
--- /dev/null
+--- a/configure.ac
++++ b/configure.ac
+@@ -49,10 +49,6 @@
+
+
+
+-PKG_CHECK_MODULES(libxml-2.0, libxml-2.0)
+-AC_SUBST(libxml-2.0_CFLAGS)
+-AC_SUBST(libxml-2.0_LIBS)
+-
+ AC_OUTPUT([
+ Makefile
+ src/Makefile
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+inherit autotools flag-o-matic
DESCRIPTION="View and manage contents of your wine cellar"
HOMEPAGE="http://xcave.free.fr/index-en.php"
RDEPEND="
x11-libs/gtk+:2
- dev-libs/libxml2:2"
-DEPEND="${RDEPEND}"
+ dev-libs/libxml2:2
+"
+DEPEND="
+ ${RDEPEND}
+"
BDEPEND="
dev-util/intltool
sys-devel/gettext
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.4.0-pkg-config.patch
+)
+src_prepare() {
+ mkdir m4 || die
+ default
+ eautoreconf
+}
+
+src_configure() {
+ append-cflags -fcommon
+ default
+}
src_install() {
default