1 |
commit: 05cde0f7f599843b855db3813f1905a5e60efe80 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 7 07:44:43 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 7 07:45:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05cde0f7 |
7 |
|
8 |
net-analyzer/nast: Set CFLAGS=-fcommon |
9 |
|
10 |
Package-Manager: Portage-2.3.87, Repoman-2.3.20 |
11 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=708510 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/nast/nast-0.2.0-r2.ebuild | 9 +++++++-- |
15 |
1 file changed, 7 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/nast/nast-0.2.0-r2.ebuild b/net-analyzer/nast/nast-0.2.0-r2.ebuild |
18 |
index 493d47ee9f4..b2e8f7dd034 100644 |
19 |
--- a/net-analyzer/nast/nast-0.2.0-r2.ebuild |
20 |
+++ b/net-analyzer/nast/nast-0.2.0-r2.ebuild |
21 |
@@ -1,8 +1,8 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
-inherit autotools |
28 |
+inherit autotools flag-o-matic |
29 |
|
30 |
DESCRIPTION="NAST - Network Analyzer Sniffer Tool" |
31 |
HOMEPAGE="https://sourceforge.net/projects/nast.berlios/" |
32 |
@@ -30,6 +30,11 @@ src_prepare() { |
33 |
eautoreconf |
34 |
} |
35 |
|
36 |
+src_configure() { |
37 |
+ append-cflags -fcommon |
38 |
+ default |
39 |
+} |
40 |
+ |
41 |
src_compile() { |
42 |
emake CFLAGS="${CFLAGS}" |
43 |
} |