net-analyzer/pmacct: Fix building against >>>=o=>>>dev-db:::mariadb/10.2.
authorJeroen Roovers <jer@gentoo.org>
Mon, 23 Oct 2017 02:18:23 +0000 (04:18 +0200)
committerJeroen Roovers <jer@gentoo.org>
Mon, 23 Oct 2017 02:18:39 +0000 (04:18 +0200)
Package-Manager: Portage-2.3.12, Repoman-2.3.3

net-analyzer/pmacct/pmacct-1.7.0.ebuild

index 8e66372172fc5dc63045c4c757c4d346ad36b6c5..1cac3337d2033cccc700d141db7aa6269453ab9c 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="A network tool to gather IP traffic information"
 HOMEPAGE="http://www.pmacct.net/"
@@ -48,6 +48,7 @@ DOCS=(
 
 src_configure() {
        tc-export CC AR RANLIB
+       append-cflags -DMYSQL_SERVER_VERSION=99999999
 
        econf \
                $(use_enable 64bit) \