summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2015-08-25 06:54:51 +0000
committerEray Aslan <eras@gentoo.org>2015-08-25 07:00:56 +0000
commit0b050154e378feaa12d830536f96730d729404cb (patch)
treef23b2240442df674e939e99fd7e72beefd9d45fe /net-mail
parentdev-java/commons-beanutils: x86 stable wrt bug #534498 (diff)
downloadgentoo-0b050154e378feaa12d830536f96730d729404cb.tar.gz
gentoo-0b050154e378feaa12d830536f96730d729404cb.tar.bz2
gentoo-0b050154e378feaa12d830536f96730d729404cb.zip
Fix building with mysql
Bug: 557582
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/mailutils/mailutils-2.99.98.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-mail/mailutils/mailutils-2.99.98.ebuild b/net-mail/mailutils/mailutils-2.99.98.ebuild
index 329dbdfb3ba4..29d3c7ab5308 100644
--- a/net-mail/mailutils/mailutils-2.99.98.ebuild
+++ b/net-mail/mailutils/mailutils-2.99.98.ebuild
@@ -5,7 +5,7 @@
EAPI=5
PYTHON_DEPEND="python? 2"
-inherit eutils flag-o-matic python toolchain-funcs
+inherit autotools eutils flag-o-matic python toolchain-funcs
DESCRIPTION="A useful collection of mail servers, clients, and filters"
HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html"
@@ -57,6 +57,11 @@ src_prepare() {
echo "#!/bin/sh" > build-aux/py-compile
epatch "${FILESDIR}/${P}-array_bounds.patch"
epatch "${FILESDIR}/${P}-readline-6.3.patch" #503954
+ if use mysql; then
+ sed -i -e /^INCLUDES/s:$:$(mysql_config --include): \
+ sql/Makefile.am || die
+ eautoreconf
+ fi
}
src_configure() {