commit: 27705d180ffd4c6c1fe1f4bc040563b72e052320 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> AuthorDate: Fri Oct 29 16:50:03 2021 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> CommitDate: Fri Oct 29 16:50:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27705d18
net-misc/ipv6calc: add USE=cgi to build web interface Closes: https://bugs.gentoo.org/820584 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> net-misc/ipv6calc/ipv6calc-4.0.0.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net-misc/ipv6calc/ipv6calc-4.0.0.ebuild b/net-misc/ipv6calc/ipv6calc-4.0.0.ebuild index 42eca99cbb1..15e5f6214b2 100644 --- a/net-misc/ipv6calc/ipv6calc-4.0.0.ebuild +++ b/net-misc/ipv6calc/ipv6calc-4.0.0.ebuild @@ -10,10 +10,14 @@ SRC_URI="https://github.com/pbiering/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="geoip test" +IUSE="cgi geoip test" RESTRICT="!test? ( test )" RDEPEND=" + cgi? ( + dev-perl/URI + dev-perl/Digest-SHA1 + ) dev-libs/openssl:= geoip? ( >=dev-libs/geoip-1.4.7 ) " @@ -21,8 +25,6 @@ DEPEND="${RDEPEND} test? ( dev-perl/Digest-SHA1 ) " -#dev-perl/URI is needed for web interface, that is not installed now - src_configure() { # These options are broken. You can't disable them. That's # okay because we want then force enabled. @@ -44,6 +46,7 @@ src_configure() { --disable-dbip2 \ --disable-external \ --disable-ip2location \ + $(use_enable cgi mod_ipv6calc ) \ ${myconf} }
