diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-12-15 19:03:49 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-12-15 19:04:22 -0500 |
commit | 3ee56b51a48d078ea70c41bf24346d2456c2e8f6 (patch) | |
tree | 1778d12f2f65ef97627a378c3e8d72ccd32b0836 /sys-apps/nvme-cli | |
parent | sys-apps/nvme-cli: rework setting of PREFIX in build (diff) | |
download | gentoo-3ee56b51a48d078ea70c41bf24346d2456c2e8f6.tar.gz gentoo-3ee56b51a48d078ea70c41bf24346d2456c2e8f6.tar.bz2 gentoo-3ee56b51a48d078ea70c41bf24346d2456c2e8f6.zip |
sys-apps/nvme-cli: add USE=udev to control automagic dep
Diffstat (limited to 'sys-apps/nvme-cli')
-rw-r--r-- | sys-apps/nvme-cli/nvme-cli-0.9.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-apps/nvme-cli/nvme-cli-0.9.ebuild b/sys-apps/nvme-cli/nvme-cli-0.9.ebuild index 2cdadb3ace08..b0abbe683d93 100644 --- a/sys-apps/nvme-cli/nvme-cli-0.9.ebuild +++ b/sys-apps/nvme-cli/nvme-cli-0.9.ebuild @@ -13,8 +13,10 @@ SRC_URI="https://github.com/linux-nvme/nvme-cli/archive/v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -RDEPEND="sys-libs/libcap" +IUSE="udev" + +RDEPEND="sys-libs/libcap + udev? ( virtual/libudev:= )" DEPEND="${RDEPEND}" src_prepare() { @@ -31,4 +33,5 @@ src_prepare() { src_configure() { tc-export CC export PREFIX="${EPREFIX}/usr" + MAKEOPTS+=" LIBUDEV=$(usex udev 0 1)" } |