diff options
author | Lucio Sauer <watermanpaint@posteo.net> | 2024-06-03 02:51:19 +0200 |
---|---|---|
committer | Lucio Sauer <watermanpaint@posteo.net> | 2024-06-03 03:18:03 +0200 |
commit | 5abf0352fd409cdd1062292850243d6b8e1833f8 (patch) | |
tree | 0a455473ef8ae1ecd50599308ed90aba4632ea19 /net-misc | |
parent | net-misc/FORT-validator: declare read-only parameter's type as const (diff) | |
download | guru-5abf0352fd409cdd1062292850243d6b8e1833f8.tar.gz guru-5abf0352fd409cdd1062292850243d6b8e1833f8.tar.bz2 guru-5abf0352fd409cdd1062292850243d6b8e1833f8.zip |
net-misc/FORT-validator: fix build-time deps
New test-dep also enables tests.
Remove deps that we inherit inherit from the autotools eclass.
Remove deps that we inherit from the system set.
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Diffstat (limited to 'net-misc')
3 files changed, 17 insertions, 15 deletions
diff --git a/net-misc/FORT-validator/FORT-validator-1.5.4-r1.ebuild b/net-misc/FORT-validator/FORT-validator-1.5.4-r1.ebuild index b6df06436..0b4f4d9cb 100644 --- a/net-misc/FORT-validator/FORT-validator-1.5.4-r1.ebuild +++ b/net-misc/FORT-validator/FORT-validator-1.5.4-r1.ebuild @@ -16,7 +16,8 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="caps" +IUSE="caps test" +RESTRICT="!test? ( test )" PATCHES="${FILESDIR}"/${PN}-1.5.4-GCC14.patch @@ -27,13 +28,10 @@ DEPEND=" dev-libs/jansson dev-libs/openssl " -RDEPEND=" - ${DEPEND} - net-misc/rsync -" +RDEPEND="${DEPEND}" BDEPEND=" - dev-build/automake - dev-build/automake + virtual/pkgconfig + test? ( dev-libs/check ) " src_prepare() { diff --git a/net-misc/FORT-validator/FORT-validator-1.6.1-r1.ebuild b/net-misc/FORT-validator/FORT-validator-1.6.1-r1.ebuild index 1eb18db5b..192cce1c9 100644 --- a/net-misc/FORT-validator/FORT-validator-1.6.1-r1.ebuild +++ b/net-misc/FORT-validator/FORT-validator-1.6.1-r1.ebuild @@ -16,7 +16,8 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="caps" +IUSE="caps test" +RESTRICT="!test? ( test )" PATCHES="${FILESDIR}"/${PN}-1.5.4-GCC14.patch @@ -29,9 +30,10 @@ DEPEND=" dev-libs/openssl net-misc/curl " -RDEPEND=" - ${DEPEND} - net-misc/rsync +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( dev-libs/check ) " src_prepare() { diff --git a/net-misc/FORT-validator/FORT-validator-1.6.2-r1.ebuild b/net-misc/FORT-validator/FORT-validator-1.6.2-r1.ebuild index 7e33ba238..b5735861e 100644 --- a/net-misc/FORT-validator/FORT-validator-1.6.2-r1.ebuild +++ b/net-misc/FORT-validator/FORT-validator-1.6.2-r1.ebuild @@ -14,7 +14,8 @@ SRC_URI="https://github.com/NICMx/${PN}/releases/download/${PV}/fort-${PV}.tar.g LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="caps" +IUSE="caps test" +RESTRICT="!test? ( test )" PATCHES="${FILESDIR}"/${PN}-1.5.4-GCC14.patch @@ -27,9 +28,10 @@ DEPEND=" dev-libs/openssl[rfc3779] net-misc/curl " -RDEPEND=" - ${DEPEND} - net-misc/rsync +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( dev-libs/check ) " S="${WORKDIR}/${MY_PN}-${PV}" |