commit:     6f267bc0727e3d886323497f8a741cf97b193b0a
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 22 21:08:18 2017 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 22:25:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f267bc0

sys-apps/iproute2: fix automagic libelf dep.

iproute2 has been automagically linking against libelf for a long time.
It is only used for eBPF programs, so isn't critical in most cases.

Declare the dep via virtual/libelf, but put it behind USE=-minimal, as
with libmnl.

Closes: https://bugs.gentoo.org/638282
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 sys-apps/iproute2/Manifest               | 24 ++++++++++++------------
 sys-apps/iproute2/iproute2-4.10.0.ebuild |  3 ++-
 sys-apps/iproute2/iproute2-4.11.0.ebuild |  3 ++-
 sys-apps/iproute2/iproute2-4.12.0.ebuild |  3 ++-
 sys-apps/iproute2/iproute2-4.13.0.ebuild |  3 ++-
 sys-apps/iproute2/iproute2-4.14.0.ebuild |  3 ++-
 sys-apps/iproute2/iproute2-4.14.1.ebuild |  3 ++-
 sys-apps/iproute2/iproute2-4.4.0.ebuild  |  5 +++--
 sys-apps/iproute2/iproute2-4.5.0.ebuild  |  5 +++--
 sys-apps/iproute2/iproute2-4.6.0.ebuild  |  5 +++--
 sys-apps/iproute2/iproute2-4.7.0.ebuild  |  5 +++--
 sys-apps/iproute2/iproute2-4.8.0.ebuild  |  5 +++--
 sys-apps/iproute2/iproute2-4.9.0.ebuild  |  5 +++--
 sys-apps/iproute2/metadata.xml           |  2 +-
 14 files changed, 43 insertions(+), 31 deletions(-)

diff --git a/sys-apps/iproute2/Manifest b/sys-apps/iproute2/Manifest
index 693370a9fd3..ed486c0c474 100644
--- a/sys-apps/iproute2/Manifest
+++ b/sys-apps/iproute2/Manifest
@@ -1,12 +1,12 @@
-DIST iproute2-4.10.0.tar.xz 626944 SHA256 
22b1e1c1fc704ad35837e5a66103739727b8b48ac90b48c13f79b7367ff0a9a8 SHA512 
e54477e167455e7ef5da4adc168d63eaa96091b63dc987fffe918cbb005eceed18a62283ca99ee2512dc0e960f47ae21b39ffbe399c1612fd9cea147c34c581b
 WHIRLPOOL 
7034f87835b13d275d2e065ee00d869060ae20c7dd325d8974da414db20328195e5968ede2f0b6925ddf67de3712b5945f54276c6ce5c8367ba28520c2adb859
-DIST iproute2-4.11.0.tar.xz 657100 SHA256 
72671028bda696d0cb8f48ec8e702581c3a501caeed33eec3a81d7041cbc8026 SHA512 
e6cc3dbe2779670a752ab346c1a432b496033448d1645aa0161b3f7b683b3f9939ab09db12199b794cc64dff257faaf0d151046feea9031a6139176e08b4f4fa
 WHIRLPOOL 
9bf25b018d3f392a2e2f4faf4c3877f52ec4b0aebb082d9c2e2c3e80c0c8f3885c122c5d211c4c6ef014506d786213b36938728f63b581079274a3116fc85581
-DIST iproute2-4.12.0.tar.xz 662424 SHA256 
2e0a4c4262d9f6c169885a6e16c4c5c5f1ef6fd57b6a0e7b41f42be5bb6ebd7d SHA512 
275147f71e7c4698654f0d6d0981ab42f6f108066508c15cfcd5d9e0d3aaf8d33291968d9f06cb03f5494d801cfabf8d53308aaf56fc4fa92c52b137e970a3b0
 WHIRLPOOL 
590cc191e96ff0b777373603186e4416f064931d529878ec783759f31fd99e1119bb0604e8a89dc98d350f80eca2bfef05a13bca7ce24302408072002c0b17b2
-DIST iproute2-4.13.0.tar.xz 670340 SHA256 
9cfb81edf8c8509e03daa77cf62aead01c4a827132f6c506578f94cc19415c50 SHA512 
f96d2839aec1f439bfac504c8e3881c063dacbf4c67b15f0e3da9882d2fa013cba33c23602de3eab624e0eecbb911a13967d60bddcdf097f47a580a5a77b5e3a
 WHIRLPOOL 
757247f1356eef49b299019f6d1809e5d781471665daedce885201b7034a6138def73c84ba2f0453f2f0f5d55cc2edf778992b3d79d06e01364c511373ea4644
-DIST iproute2-4.14.0.tar.xz 636872 SHA256 
fee001307b3c018462cb010e3aa19b38017de26168d5777c05ee73a21d60fcd0 SHA512 
dda8b7881d82d6d38449d69df362bd3eedde6c7f4dd315d6eaf7969673805faf82675e1df04d7dc35a826b0df429a400a3f8ac0e998c1de0d6ca500e722f058e
 WHIRLPOOL 
62ce4fa8ba1bb84678277401c07097b26490767cd55a66f2be743dc1fec4610033437517c44339dc4cc95ffe0d255d804c25cdd6e77640eb15453160abe87f78
-DIST iproute2-4.14.1.tar.xz 636876 SHA256 
d43ac068afcc350a448f4581b6e292331ef7e4e7aa746e34981582d5fdb10067 SHA512 
e593b68c46ef5f98bd6911ee7beb38388a14935a29fefabdeccc96aa012593b6f3a49b3bb1baed7d77e54f1f4a857172e058b73407f4070f158b8713f44f5d2c
 WHIRLPOOL 
42ee7611f3fb1ceb922c606bf11cd4d72cf71020a73f96f5130f07a9cab08f1dbc973cb5924f6a15cf4613dac5b60a3a97583c0e801db960f5039d6d8c0ef095
-DIST iproute2-4.4.0.tar.xz 528552 SHA256 
bc91c367288a19f78ef800cd6840363be1f22da8436fbae88e1a7250490d6514 SHA512 
48236fc6103a55d977efa4f93ad7fdfc0944df975ce771d57fd3dcfb13b761b0c05dbe749978ac86c7a471d023bee62a2f1648a6ca75f50da9252acfde174b69
 WHIRLPOOL 
7e90c98805e12b28de284bb998e5a27cf524a78d0bd7632c0d49a7ddff8f11f5229ac6867076e9fea6f21b6b31360bddb21138673d94de766bdf7324a09bc013
-DIST iproute2-4.5.0.tar.xz 554500 SHA256 
3f15292f53e465cb5bd6652961343ca64eb6936309ae75be5d5a541435bc494a SHA512 
d12be24cf7a1102be8e449d1e95fa67b784d505e98fcf2f18caedf0136fb378dc439f74a75bc0d6ef5b2893e5ca1968e122054404c1f4d1a212aeb0fba1c5860
 WHIRLPOOL 
dc660bde36fed126b27fb69a59c02405b5299b92a6b519ebdce74d817f88be82114bb10217ca34bbc26a89e664ff243e606a84bcb00db41088bce824542def40
-DIST iproute2-4.6.0.tar.xz 570960 SHA256 
74fc6a8ad085be095a159f8158bbaf385b42af9e101619f233f1ae466829d406 SHA512 
1e3868ced65012da6724744eb15e6bb8e2c5bf8d7a46cf2b655526de1a9e1224c7b7e9bd4a88e40516b5648955987eb9001600ca5afbd507bc664f92b51ede9f
 WHIRLPOOL 
1b0ff7988d6d5567137aca9d41e2cc3183f3620f8b874113ff9e6ca9508349550e388e423c54b165e73ed54ccb7a366ef8d032a930f27722eccbd5ff6879032e
-DIST iproute2-4.7.0.tar.xz 589928 SHA256 
8f60dbcfb33a79daae0638f53bdcaa4310c0aa59ae39af8a234020dc69bb7b92 SHA512 
dd884b192ede7f165d565dce6819fb7280eda880d4d53e06a604ab20e7ce343ba37847750172fd52061892e9db3d18bd8ae13d37bd4410e50a8f704cb3fe4ece
 WHIRLPOOL 
191335f76f816ec1c86b2b9cac398129a475993e5a6366d0d0a35287eb07ae61d873e1a8a25a0083b28953011d8dfd492e7a718bacfd7f872130cdb2e3a5729d
-DIST iproute2-4.8.0.tar.xz 594636 SHA256 
a30959c8421bc8ef42719bed41d14e1d7cfdbad80d7d70c5c42ad31f2c2cb389 SHA512 
9b9db053e5d6ae2e7dd17870a3081ef61788a7eeb07473430e1a26c3c948123d33840bd6bb81b4a553ac6913ea89f02ac2a1b7d52ced65523a43991f03e84f49
 WHIRLPOOL 
83015c0bcfc6739ce688307a6824047910d453265883d4fbb9bec67c8720a5f478d2d72e5095ffc75191e64f3525a25f019032f20fc428b622e4a5c1b8fcbe3d
-DIST iproute2-4.9.0.tar.xz 613032 SHA256 
c0f30f043f7767cc1b2cd2197b08d4e9b2392c95823fabe30bbce308c30116c4 SHA512 
0d974d7c001eac75def0d90b628e432d9847024843d02a6cd27266ff30e3f7a9c874fa91115da74db5f321c2e815b486a847059ca6df3aa8ea49432ffa39a889
 WHIRLPOOL 
83c8d42ef43f42a58835ff3b1df7460c67db4de1ae9d5df775d8aa15bfe2c488a626dd40c4327c2772436ed88bea1a1f57a953cd6bf650955465e76aec9476a2
+DIST iproute2-4.10.0.tar.xz 626944 BLAKE2B 
8d37ae67785cd4a3110f989b0ac635c1cbdc8258afeba5894b58dfcee49fdd9a4c86d8c1693ee5c5a933ce54396dbfed054dbf7fb4888c08563c36c13c282a65
 SHA512 
e54477e167455e7ef5da4adc168d63eaa96091b63dc987fffe918cbb005eceed18a62283ca99ee2512dc0e960f47ae21b39ffbe399c1612fd9cea147c34c581b
+DIST iproute2-4.11.0.tar.xz 657100 BLAKE2B 
9782adc8240796bba1a96bce6b6d7a8a611cc8a313f39fca459cba8bed32468a575d3739d030bcb5c632f8a58aa3117f0fde180e24ff0f01b4c75348691414e0
 SHA512 
e6cc3dbe2779670a752ab346c1a432b496033448d1645aa0161b3f7b683b3f9939ab09db12199b794cc64dff257faaf0d151046feea9031a6139176e08b4f4fa
+DIST iproute2-4.12.0.tar.xz 662424 BLAKE2B 
6c6608d4a157e46932834c09e91d6a786a04c45cb9458bdc4616a9393c9007208cbda2a8254b3b704001543328e42b10dfacaa78a4087cfe3f3bf0d26b1ca573
 SHA512 
275147f71e7c4698654f0d6d0981ab42f6f108066508c15cfcd5d9e0d3aaf8d33291968d9f06cb03f5494d801cfabf8d53308aaf56fc4fa92c52b137e970a3b0
+DIST iproute2-4.13.0.tar.xz 670340 BLAKE2B 
379072c0865e8960b46065454e9bdf3a9cb7af45b32a2fff8e89bef8d60e837419bea60df1343b4bb15db624feb3ce4acbe621b4c44405c43fa729e770bb04a3
 SHA512 
f96d2839aec1f439bfac504c8e3881c063dacbf4c67b15f0e3da9882d2fa013cba33c23602de3eab624e0eecbb911a13967d60bddcdf097f47a580a5a77b5e3a
+DIST iproute2-4.14.0.tar.xz 636872 BLAKE2B 
57fac46b7083a3f6343646b31dd545e98604298f1290913a02cb9c5604ae1454cc3695ffcff6802b91c221681bc436bef4d28cdedad2b054f774dc1bb72f3b17
 SHA512 
dda8b7881d82d6d38449d69df362bd3eedde6c7f4dd315d6eaf7969673805faf82675e1df04d7dc35a826b0df429a400a3f8ac0e998c1de0d6ca500e722f058e
+DIST iproute2-4.14.1.tar.xz 636876 BLAKE2B 
232dbe29b9af516d8345c86c044359d3b0cfe73fb88a2ba1dcd05534b52dea37c9155d2b273a4a0d40b55fba8b5503a0fbe5bc71f37864c0a2ba9d6f08b6bf41
 SHA512 
e593b68c46ef5f98bd6911ee7beb38388a14935a29fefabdeccc96aa012593b6f3a49b3bb1baed7d77e54f1f4a857172e058b73407f4070f158b8713f44f5d2c
+DIST iproute2-4.4.0.tar.xz 528552 BLAKE2B 
cad90d2734647a5a5e90b0a8b1337656c6480471caa06beee54fb3abd9c3bc64fc21da349d9b8aa0decf6208de325dd37a9e02fd9e994b024f9142dcd229b87c
 SHA512 
48236fc6103a55d977efa4f93ad7fdfc0944df975ce771d57fd3dcfb13b761b0c05dbe749978ac86c7a471d023bee62a2f1648a6ca75f50da9252acfde174b69
+DIST iproute2-4.5.0.tar.xz 554500 BLAKE2B 
b64933bd0bf572796705ce2559b1c6cf7faf2f9ac11e1a94a09a428b0039216df8b2ce72a9783e84825a12baaa08526f724d385c6c7e5f6a0d86c3d1662ab822
 SHA512 
d12be24cf7a1102be8e449d1e95fa67b784d505e98fcf2f18caedf0136fb378dc439f74a75bc0d6ef5b2893e5ca1968e122054404c1f4d1a212aeb0fba1c5860
+DIST iproute2-4.6.0.tar.xz 570960 BLAKE2B 
e49dc56615490aa7d7cec20830b2866c3e00b08a25ab92bf94d30cc1d7e60e5f10982aa379502a0e5279748c9504e67603f0b947376b6d2991838516b55ef4c9
 SHA512 
1e3868ced65012da6724744eb15e6bb8e2c5bf8d7a46cf2b655526de1a9e1224c7b7e9bd4a88e40516b5648955987eb9001600ca5afbd507bc664f92b51ede9f
+DIST iproute2-4.7.0.tar.xz 589928 BLAKE2B 
8230cb410ddf46a57b646fada24b02b7f808915487047bed5b40b4e78eb4efa2563c07f79b5326f0869fbd288e492efbd000f0adb648df8e8da058445bff895d
 SHA512 
dd884b192ede7f165d565dce6819fb7280eda880d4d53e06a604ab20e7ce343ba37847750172fd52061892e9db3d18bd8ae13d37bd4410e50a8f704cb3fe4ece
+DIST iproute2-4.8.0.tar.xz 594636 BLAKE2B 
4c4559e310e6854bd258c0191cbf234e9631f2215818775907190622cb818bcb818edd112cda28fd5ef19da964fbfedcf0e38778228c71c27f01ac758211f203
 SHA512 
9b9db053e5d6ae2e7dd17870a3081ef61788a7eeb07473430e1a26c3c948123d33840bd6bb81b4a553ac6913ea89f02ac2a1b7d52ced65523a43991f03e84f49
+DIST iproute2-4.9.0.tar.xz 613032 BLAKE2B 
ae8b1bb4d39999e17b3930064e7f18407d0e9172567c2a95e50a0dbdccaeac59e4a880764b61dae9f814ba97092c1d5949e313cfe5d903dadfed26d9b17b03ec
 SHA512 
0d974d7c001eac75def0d90b628e432d9847024843d02a6cd27266ff30e3f7a9c874fa91115da74db5f321c2e815b486a847059ca6df3aa8ea49432ffa39a889

diff --git a/sys-apps/iproute2/iproute2-4.10.0.ebuild 
b/sys-apps/iproute2/iproute2-4.10.0.ebuild
index 2408101d557..42721a9c071 100644
--- a/sys-apps/iproute2/iproute2-4.10.0.ebuild
+++ b/sys-apps/iproute2/iproute2-4.10.0.ebuild
@@ -22,7 +22,7 @@ IUSE="atm berkdb +iptables ipv6 minimal selinux"
 
 # We could make libmnl optional, but it's tiny, so eh
 RDEPEND="!net-misc/arpd
-       !minimal? ( net-libs/libmnl )
+       !minimal? ( net-libs/libmnl virtual/libelf )
        iptables? ( >=net-firewall/iptables-1.4.20:= )
        berkdb? ( sys-libs/db:= )
        atm? ( net-dialup/linux-atm )
@@ -91,6 +91,7 @@ src_configure() {
        TC_CONFIG_IPSET := y
        HAVE_BERKELEY_DB := $(usex berkdb y n)
        HAVE_MNL      := $(usex minimal n y)
+       HAVE_ELF      := $(usex minimal n y)
        HAVE_SELINUX  := $(usex selinux y n)
        IP_CONFIG_SETNS := ${setns}
        # Use correct iptables dir, #144265 #293709

diff --git a/sys-apps/iproute2/iproute2-4.11.0.ebuild 
b/sys-apps/iproute2/iproute2-4.11.0.ebuild
index 74f13e14182..9df53753f04 100644
--- a/sys-apps/iproute2/iproute2-4.11.0.ebuild
+++ b/sys-apps/iproute2/iproute2-4.11.0.ebuild
@@ -22,7 +22,7 @@ IUSE="atm berkdb +iptables ipv6 minimal selinux"
 
 # We could make libmnl optional, but it's tiny, so eh
 RDEPEND="!net-misc/arpd
-       !minimal? ( net-libs/libmnl )
+       !minimal? ( net-libs/libmnl virtual/libelf )
        iptables? ( >=net-firewall/iptables-1.4.20:= )
        berkdb? ( sys-libs/db:= )
        atm? ( net-dialup/linux-atm )
@@ -91,6 +91,7 @@ src_configure() {
        TC_CONFIG_IPSET := y
        HAVE_BERKELEY_DB := $(usex berkdb y n)
        HAVE_MNL      := $(usex minimal n y)
+       HAVE_ELF      := $(usex minimal n y)
        HAVE_SELINUX  := $(usex selinux y n)
        IP_CONFIG_SETNS := ${setns}
        # Use correct iptables dir, #144265 #293709

diff --git a/sys-apps/iproute2/iproute2-4.12.0.ebuild 
b/sys-apps/iproute2/iproute2-4.12.0.ebuild
index 3443e720d92..dd3511a17bc 100644
--- a/sys-apps/iproute2/iproute2-4.12.0.ebuild
+++ b/sys-apps/iproute2/iproute2-4.12.0.ebuild
@@ -23,7 +23,7 @@ IUSE="atm berkdb +iptables ipv6 minimal selinux"
 # We could make libmnl optional, but it's tiny, so eh
 RDEPEND="
        !net-misc/arpd
-       !minimal? ( net-libs/libmnl )
+       !minimal? ( net-libs/libmnl virtual/libelf )
        iptables? ( >=net-firewall/iptables-1.4.20:= )
        berkdb? ( sys-libs/db:= )
        atm? ( net-dialup/linux-atm )
@@ -103,6 +103,7 @@ src_configure() {
        TC_CONFIG_IPSET := y
        HAVE_BERKELEY_DB := $(usex berkdb y n)
        HAVE_MNL      := $(usex minimal n y)
+       HAVE_ELF      := $(usex minimal n y)
        HAVE_SELINUX  := $(usex selinux y n)
        IP_CONFIG_SETNS := ${setns}
        # Use correct iptables dir, #144265 #293709

diff --git a/sys-apps/iproute2/iproute2-4.13.0.ebuild 
b/sys-apps/iproute2/iproute2-4.13.0.ebuild
index fa700784bd6..94559ea6e5e 100644
--- a/sys-apps/iproute2/iproute2-4.13.0.ebuild
+++ b/sys-apps/iproute2/iproute2-4.13.0.ebuild
@@ -23,7 +23,7 @@ IUSE="atm berkdb +iptables ipv6 minimal selinux"
 # We could make libmnl optional, but it's tiny, so eh
 RDEPEND="
        !net-misc/arpd
-       !minimal? ( net-libs/libmnl )
+       !minimal? ( net-libs/libmnl virtual/libelf )
        iptables? ( >=net-firewall/iptables-1.4.20:= )
        berkdb? ( sys-libs/db:= )
        atm? ( net-dialup/linux-atm )
@@ -103,6 +103,7 @@ src_configure() {
        TC_CONFIG_IPSET := y
        HAVE_BERKELEY_DB := $(usex berkdb y n)
        HAVE_MNL      := $(usex minimal n y)
+       HAVE_ELF      := $(usex minimal n y)
        HAVE_SELINUX  := $(usex selinux y n)
        IP_CONFIG_SETNS := ${setns}
        # Use correct iptables dir, #144265 #293709

diff --git a/sys-apps/iproute2/iproute2-4.14.0.ebuild 
b/sys-apps/iproute2/iproute2-4.14.0.ebuild
index 1e581bc9468..898a3f4b5aa 100644
--- a/sys-apps/iproute2/iproute2-4.14.0.ebuild
+++ b/sys-apps/iproute2/iproute2-4.14.0.ebuild
@@ -23,7 +23,7 @@ IUSE="atm berkdb +iptables ipv6 minimal selinux"
 # We could make libmnl optional, but it's tiny, so eh
 RDEPEND="
        !net-misc/arpd
-       !minimal? ( net-libs/libmnl )
+       !minimal? ( net-libs/libmnl virtual/libelf )
        iptables? ( >=net-firewall/iptables-1.4.20:= )
        berkdb? ( sys-libs/db:= )
        atm? ( net-dialup/linux-atm )
@@ -103,6 +103,7 @@ src_configure() {
        TC_CONFIG_IPSET := y
        HAVE_BERKELEY_DB := $(usex berkdb y n)
        HAVE_MNL      := $(usex minimal n y)
+       HAVE_ELF      := $(usex minimal n y)
        HAVE_SELINUX  := $(usex selinux y n)
        IP_CONFIG_SETNS := ${setns}
        # Use correct iptables dir, #144265 #293709

diff --git a/sys-apps/iproute2/iproute2-4.14.1.ebuild 
b/sys-apps/iproute2/iproute2-4.14.1.ebuild
index 1e581bc9468..898a3f4b5aa 100644
--- a/sys-apps/iproute2/iproute2-4.14.1.ebuild
+++ b/sys-apps/iproute2/iproute2-4.14.1.ebuild
@@ -23,7 +23,7 @@ IUSE="atm berkdb +iptables ipv6 minimal selinux"
 # We could make libmnl optional, but it's tiny, so eh
 RDEPEND="
        !net-misc/arpd
-       !minimal? ( net-libs/libmnl )
+       !minimal? ( net-libs/libmnl virtual/libelf )
        iptables? ( >=net-firewall/iptables-1.4.20:= )
        berkdb? ( sys-libs/db:= )
        atm? ( net-dialup/linux-atm )
@@ -103,6 +103,7 @@ src_configure() {
        TC_CONFIG_IPSET := y
        HAVE_BERKELEY_DB := $(usex berkdb y n)
        HAVE_MNL      := $(usex minimal n y)
+       HAVE_ELF      := $(usex minimal n y)
        HAVE_SELINUX  := $(usex selinux y n)
        IP_CONFIG_SETNS := ${setns}
        # Use correct iptables dir, #144265 #293709

diff --git a/sys-apps/iproute2/iproute2-4.4.0.ebuild 
b/sys-apps/iproute2/iproute2-4.4.0.ebuild
index 39aca2ca93e..a4fb54b81c1 100644
--- a/sys-apps/iproute2/iproute2-4.4.0.ebuild
+++ b/sys-apps/iproute2/iproute2-4.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -22,7 +22,7 @@ IUSE="atm berkdb +iptables ipv6 minimal selinux"
 
 # We could make libmnl optional, but it's tiny, so eh
 RDEPEND="!net-misc/arpd
-       !minimal? ( net-libs/libmnl )
+       !minimal? ( net-libs/libmnl virtual/libelf )
        iptables? ( >=net-firewall/iptables-1.4.20:= )
        berkdb? ( sys-libs/db:= )
        atm? ( net-dialup/linux-atm )
@@ -81,6 +81,7 @@ src_configure() {
        TC_CONFIG_IPSET := y
        HAVE_BERKELEY_DB := $(usex berkdb y n)
        HAVE_MNL      := $(usex minimal n y)
+       HAVE_ELF      := $(usex minimal n y)
        HAVE_SELINUX  := $(usex selinux y n)
        IP_CONFIG_SETNS := ${setns}
        # Use correct iptables dir, #144265 #293709

diff --git a/sys-apps/iproute2/iproute2-4.5.0.ebuild 
b/sys-apps/iproute2/iproute2-4.5.0.ebuild
index 2d253c67279..49cf0f5b2cc 100644
--- a/sys-apps/iproute2/iproute2-4.5.0.ebuild
+++ b/sys-apps/iproute2/iproute2-4.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -22,7 +22,7 @@ IUSE="atm berkdb +iptables ipv6 minimal selinux"
 
 # We could make libmnl optional, but it's tiny, so eh
 RDEPEND="!net-misc/arpd
-       !minimal? ( net-libs/libmnl )
+       !minimal? ( net-libs/libmnl virtual/libelf )
        iptables? ( >=net-firewall/iptables-1.4.20:= )
        berkdb? ( sys-libs/db:= )
        atm? ( net-dialup/linux-atm )
@@ -81,6 +81,7 @@ src_configure() {
        TC_CONFIG_IPSET := y
        HAVE_BERKELEY_DB := $(usex berkdb y n)
        HAVE_MNL      := $(usex minimal n y)
+       HAVE_ELF      := $(usex minimal n y)
        HAVE_SELINUX  := $(usex selinux y n)
        IP_CONFIG_SETNS := ${setns}
        # Use correct iptables dir, #144265 #293709

diff --git a/sys-apps/iproute2/iproute2-4.6.0.ebuild 
b/sys-apps/iproute2/iproute2-4.6.0.ebuild
index 2b8c4aa156a..94a220666a0 100644
--- a/sys-apps/iproute2/iproute2-4.6.0.ebuild
+++ b/sys-apps/iproute2/iproute2-4.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -22,7 +22,7 @@ IUSE="atm berkdb +iptables ipv6 minimal selinux"
 
 # We could make libmnl optional, but it's tiny, so eh
 RDEPEND="!net-misc/arpd
-       !minimal? ( net-libs/libmnl )
+       !minimal? ( net-libs/libmnl virtual/libelf )
        iptables? ( >=net-firewall/iptables-1.4.20:= )
        berkdb? ( sys-libs/db:= )
        atm? ( net-dialup/linux-atm )
@@ -91,6 +91,7 @@ src_configure() {
        TC_CONFIG_IPSET := y
        HAVE_BERKELEY_DB := $(usex berkdb y n)
        HAVE_MNL      := $(usex minimal n y)
+       HAVE_ELF      := $(usex minimal n y)
        HAVE_SELINUX  := $(usex selinux y n)
        IP_CONFIG_SETNS := ${setns}
        # Use correct iptables dir, #144265 #293709

diff --git a/sys-apps/iproute2/iproute2-4.7.0.ebuild 
b/sys-apps/iproute2/iproute2-4.7.0.ebuild
index ae4dae71385..f5ec388e9ad 100644
--- a/sys-apps/iproute2/iproute2-4.7.0.ebuild
+++ b/sys-apps/iproute2/iproute2-4.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -22,7 +22,7 @@ IUSE="atm berkdb +iptables ipv6 minimal selinux"
 
 # We could make libmnl optional, but it's tiny, so eh
 RDEPEND="!net-misc/arpd
-       !minimal? ( net-libs/libmnl )
+       !minimal? ( net-libs/libmnl virtual/libelf )
        iptables? ( >=net-firewall/iptables-1.4.20:= )
        berkdb? ( sys-libs/db:= )
        atm? ( net-dialup/linux-atm )
@@ -91,6 +91,7 @@ src_configure() {
        TC_CONFIG_IPSET := y
        HAVE_BERKELEY_DB := $(usex berkdb y n)
        HAVE_MNL      := $(usex minimal n y)
+       HAVE_ELF      := $(usex minimal n y)
        HAVE_SELINUX  := $(usex selinux y n)
        IP_CONFIG_SETNS := ${setns}
        # Use correct iptables dir, #144265 #293709

diff --git a/sys-apps/iproute2/iproute2-4.8.0.ebuild 
b/sys-apps/iproute2/iproute2-4.8.0.ebuild
index ae4dae71385..f5ec388e9ad 100644
--- a/sys-apps/iproute2/iproute2-4.8.0.ebuild
+++ b/sys-apps/iproute2/iproute2-4.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -22,7 +22,7 @@ IUSE="atm berkdb +iptables ipv6 minimal selinux"
 
 # We could make libmnl optional, but it's tiny, so eh
 RDEPEND="!net-misc/arpd
-       !minimal? ( net-libs/libmnl )
+       !minimal? ( net-libs/libmnl virtual/libelf )
        iptables? ( >=net-firewall/iptables-1.4.20:= )
        berkdb? ( sys-libs/db:= )
        atm? ( net-dialup/linux-atm )
@@ -91,6 +91,7 @@ src_configure() {
        TC_CONFIG_IPSET := y
        HAVE_BERKELEY_DB := $(usex berkdb y n)
        HAVE_MNL      := $(usex minimal n y)
+       HAVE_ELF      := $(usex minimal n y)
        HAVE_SELINUX  := $(usex selinux y n)
        IP_CONFIG_SETNS := ${setns}
        # Use correct iptables dir, #144265 #293709

diff --git a/sys-apps/iproute2/iproute2-4.9.0.ebuild 
b/sys-apps/iproute2/iproute2-4.9.0.ebuild
index c0bb3e0c3f5..42721a9c071 100644
--- a/sys-apps/iproute2/iproute2-4.9.0.ebuild
+++ b/sys-apps/iproute2/iproute2-4.9.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -22,7 +22,7 @@ IUSE="atm berkdb +iptables ipv6 minimal selinux"
 
 # We could make libmnl optional, but it's tiny, so eh
 RDEPEND="!net-misc/arpd
-       !minimal? ( net-libs/libmnl )
+       !minimal? ( net-libs/libmnl virtual/libelf )
        iptables? ( >=net-firewall/iptables-1.4.20:= )
        berkdb? ( sys-libs/db:= )
        atm? ( net-dialup/linux-atm )
@@ -91,6 +91,7 @@ src_configure() {
        TC_CONFIG_IPSET := y
        HAVE_BERKELEY_DB := $(usex berkdb y n)
        HAVE_MNL      := $(usex minimal n y)
+       HAVE_ELF      := $(usex minimal n y)
        HAVE_SELINUX  := $(usex selinux y n)
        IP_CONFIG_SETNS := ${setns}
        # Use correct iptables dir, #144265 #293709

diff --git a/sys-apps/iproute2/metadata.xml b/sys-apps/iproute2/metadata.xml
index 0fa0b4cd78c..2605d5fd7ce 100644
--- a/sys-apps/iproute2/metadata.xml
+++ b/sys-apps/iproute2/metadata.xml
@@ -8,6 +8,6 @@
 <use>
        <flag name="berkdb">build programs that use berkdb (just arpd)</flag>
        <flag name="iptables">include support for iptables filtering</flag>
-       <flag name="minimal">only install ip and tc programs</flag>
+       <flag name="minimal">only install ip and tc programs, without eBPF 
support</flag>
 </use>
 </pkgmetadata>

Reply via email to