diff options
author | Louis Sautier <sbraz@gentoo.org> | 2020-05-05 20:32:46 +0200 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2020-05-05 20:34:34 +0200 |
commit | 02553460f1fab662e6396b7be625fa3b514ce0ed (patch) | |
tree | 8566df49d506e9c33218cba70a6fcbfd045e1deb /net-analyzer | |
parent | dev-perl/BerkeleyDB: Bump to version 0.630.0 (diff) | |
download | gentoo-02553460f1fab662e6396b7be625fa3b514ce0ed.tar.gz gentoo-02553460f1fab662e6396b7be625fa3b514ce0ed.tar.bz2 gentoo-02553460f1fab662e6396b7be625fa3b514ce0ed.zip |
net-analyzer/nagios-plugins-linux-madrisan: new USE=varlink
Remove automatic detection of libvarlink, change behavior based on the
value of the new USE=varlink flag.
This required dropping the x86 keyword because libvarlink is not
keyworded there.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nagios-plugins-linux-madrisan/metadata.xml | 1 | ||||
-rw-r--r-- | net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-26-r1.ebuild (renamed from net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-26.ebuild) | 10 |
2 files changed, 8 insertions, 3 deletions
diff --git a/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml b/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml index 2485783589cb..380090a8861e 100644 --- a/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml +++ b/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name="curl">Build check_docker which requires <pkg>net-misc/curl</pkg></flag> + <flag name="varlink">Build check_podman which requires <pkg>dev-libs/libvarlink</pkg></flag> </use> <upstream> <remote-id type="github">madrisan/nagios-plugins-linux</remote-id> diff --git a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-26.ebuild b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-26-r1.ebuild index 0e91fa5a72cd..a0569e29d79c 100644 --- a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-26.ebuild +++ b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-26-r1.ebuild @@ -14,10 +14,13 @@ SRC_URI="https://github.com/madrisan/${MY_PN}/releases/download/v${PV}/${MY_P}.t LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="curl" +KEYWORDS="~amd64" +IUSE="curl varlink" -DEPEND="curl? ( net-misc/curl:0= )" +DEPEND=" + curl? ( net-misc/curl:0= ) + varlink? ( dev-libs/libvarlink:= ) +" RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P}" @@ -36,6 +39,7 @@ src_configure() { # Most options are already defaults for Gentoo --disable-hardening $(use_enable curl libcurl) + $(use_enable varlink libvarlink) ) econf "${myconf[@]}" } |