net-analyzer/nast: Set CFLAGS=-fcommon
authorJeroen Roovers <jer@gentoo.org>
Fri, 7 Feb 2020 07:44:43 +0000 (08:44 +0100)
committerJeroen Roovers <jer@gentoo.org>
Fri, 7 Feb 2020 07:45:27 +0000 (08:45 +0100)
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Closes: https://bugs.gentoo.org/show_bug.cgi?id=708510
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
net-analyzer/nast/nast-0.2.0-r2.ebuild

index 493d47ee9f4bc947077de07d7d3934330c787567..b2e8f7dd03420dfa006a90a19a168083744c0a47 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="NAST - Network Analyzer Sniffer Tool"
 HOMEPAGE="https://sourceforge.net/projects/nast.berlios/"
@@ -30,6 +30,11 @@ src_prepare() {
        eautoreconf
 }
 
+src_configure() {
+       append-cflags -fcommon
+       default
+}
+
 src_compile() {
        emake CFLAGS="${CFLAGS}"
 }