diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2021-10-29 12:50:03 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2021-10-29 12:50:03 -0400 |
commit | 27705d180ffd4c6c1fe1f4bc040563b72e052320 (patch) | |
tree | 84ae0bd66774e594816407529911b4aa788b3636 /net-misc/ipv6calc | |
parent | dev-perl/File-ShareDir: Remove old (diff) | |
download | gentoo-27705d180ffd4c6c1fe1f4bc040563b72e052320.tar.gz gentoo-27705d180ffd4c6c1fe1f4bc040563b72e052320.tar.bz2 gentoo-27705d180ffd4c6c1fe1f4bc040563b72e052320.zip |
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@gentoo.org>
Diffstat (limited to 'net-misc/ipv6calc')
-rw-r--r-- | net-misc/ipv6calc/ipv6calc-4.0.0.ebuild | 9 |
1 files 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 42eca99cbb18..15e5f6214b29 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} } |