1 |
commit: 1a13dc120923ba7391043ecda0c2af348bbcb8c7 |
2 |
Author: Theo Anderson <telans <AT> posteo <DOT> de> |
3 |
AuthorDate: Wed Dec 23 10:10:21 2020 +0000 |
4 |
Commit: Theo Anderson <telans <AT> posteo <DOT> de> |
5 |
CommitDate: Wed Dec 23 10:10:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1a13dc12 |
7 |
|
8 |
net-misc/openbgpd: append-cflags -fcommon |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Theo Anderson <telans <AT> posteo.de> |
12 |
|
13 |
net-misc/openbgpd/openbgpd-6.8_p0.ebuild | 7 ++++++- |
14 |
1 file changed, 6 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/net-misc/openbgpd/openbgpd-6.8_p0.ebuild b/net-misc/openbgpd/openbgpd-6.8_p0.ebuild |
17 |
index ccd7a6ba..fc029efd 100644 |
18 |
--- a/net-misc/openbgpd/openbgpd-6.8_p0.ebuild |
19 |
+++ b/net-misc/openbgpd/openbgpd-6.8_p0.ebuild |
20 |
@@ -3,7 +3,7 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-inherit systemd |
25 |
+inherit flag-o-matic systemd |
26 |
|
27 |
MY_PV="${PV/_p/p}" |
28 |
MY_P="${PN}-${MY_PV}" |
29 |
@@ -38,6 +38,11 @@ src_install() { |
30 |
systemd_newunit "${FILESDIR}/${PN}.service" bgpd.service |
31 |
} |
32 |
|
33 |
+src_configure() { |
34 |
+ append-cflags -fcommon |
35 |
+ default |
36 |
+} |
37 |
+ |
38 |
pkg_postinst() { |
39 |
if [ -z "${REPLACING_VERSIONS}" ]; then |
40 |
ewarn "" |