diff options
-rw-r--r-- | sys-apps/pciutils/pciutils-3.7.0-r1.ebuild (renamed from sys-apps/pciutils/pciutils-3.7.0.ebuild) | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-apps/pciutils/pciutils-3.7.0.ebuild b/sys-apps/pciutils/pciutils-3.7.0-r1.ebuild index b36f536b973e..972c471fece6 100644 --- a/sys-apps/pciutils/pciutils-3.7.0.ebuild +++ b/sys-apps/pciutils/pciutils-3.7.0-r1.ebuild @@ -13,15 +13,16 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="dns +kmod static-libs +udev zlib" +REQUIRED_USE="static-libs? ( !udev )" # Have the sub-libs in RDEPEND with [static-libs] since, logically, # our libpci.a depends on libz.a/etc... at runtime. LIB_DEPEND=" zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+),${MULTILIB_USEDEP}] ) - udev? ( >=virtual/libudev-208[static-libs(-),${MULTILIB_USEDEP}] ) " DEPEND=" kmod? ( sys-apps/kmod ) + udev? ( >=virtual/libudev-208[${MULTILIB_USEDEP}] ) static-libs? ( ${LIB_DEPEND} ) !static-libs? ( ${LIB_DEPEND//static-libs([+-]),} ) " |