diff options
author | Louis Sautier <sbraz@gentoo.org> | 2022-11-05 18:15:58 +0100 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2022-11-05 19:35:20 +0100 |
commit | 9a5aad2bf2e54dab53a598fa151baaa8dd1b1f0c (patch) | |
tree | dc4698c0cdd43775e70f4f6cd9a8e7a378978133 /net-irc/znc/znc-1.8.2-r2.ebuild | |
parent | dev-db/influxdb: Version bump to 1.8.10 (diff) | |
download | gentoo-9a5aad2bf2e54dab53a598fa151baaa8dd1b1f0c.tar.gz gentoo-9a5aad2bf2e54dab53a598fa151baaa8dd1b1f0c.tar.bz2 gentoo-9a5aad2bf2e54dab53a598fa151baaa8dd1b1f0c.zip |
net-irc/znc: fix build with SWIG 4.1.0 and USE=perl/python
Also always enable IPv6 as it doesn't require additional dependencies
(pkgcheck warned of "UseFlagWithoutDeps").
Closes: https://bugs.gentoo.org/878587
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'net-irc/znc/znc-1.8.2-r2.ebuild')
-rw-r--r-- | net-irc/znc/znc-1.8.2-r2.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net-irc/znc/znc-1.8.2-r2.ebuild b/net-irc/znc/znc-1.8.2-r2.ebuild index b9d4a004fac3..885291374ae4 100644 --- a/net-irc/znc/znc-1.8.2-r2.ebuild +++ b/net-irc/znc/znc-1.8.2-r2.ebuild @@ -30,7 +30,7 @@ LICENSE="Apache-2.0" # "If you upgrade your ZNC version, you must recompile all your modules." # - https://wiki.znc.in/Compiling_modules SLOT="0/${PV}" -IUSE="+ipv6 +icu nls perl python +ssl sasl tcl test +zlib" +IUSE="+icu nls perl python +ssl sasl tcl test +zlib" RESTRICT="!test? ( test )" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} icu )" @@ -40,11 +40,11 @@ BDEPEND=" virtual/pkgconfig nls? ( sys-devel/gettext ) perl? ( - >=dev-lang/swig-3.0.0 + >=dev-lang/swig-4.0.1 >=dev-lang/perl-5.10 ) python? ( - >=dev-lang/swig-3.0.0 + >=dev-lang/swig-4.0.1 >=dev-lang/perl-5.10 ) test? ( @@ -75,6 +75,7 @@ PATCHES=( "${FILESDIR}"/${P}-add-libera.patch "${FILESDIR}"/${P}-fix-python-3.10.patch "${FILESDIR}"/${P}-fix-odr-violation.patch + "${FILESDIR}"/${P}-fix-swig.patch ) pkg_setup() { @@ -103,7 +104,7 @@ src_configure() { -DWANT_SYSTEMD=yes # Causes -DSYSTEMD_DIR to be used. -DSYSTEMD_DIR="$(systemd_get_systemunitdir)" -DWANT_ICU="$(usex icu)" - -DWANT_IPV6="$(usex ipv6)" + -DWANT_IPV6=yes -DWANT_I18N="$(usex nls)" -DWANT_PERL="$(usex perl)" -DWANT_PYTHON="$(usex python)" |