summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-02-12 22:19:16 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-02-12 22:21:56 +0100
commit43ceaf84adc61f8ba0e0bcbaf8d63465d052b8a3 (patch)
tree93c9ede61125abbdaad04a6141afb742f6d76d17 /net-irc/irssi
parentdev-python/docutils: stable 0.14 for sparc, bug #677578 (diff)
downloadgentoo-43ceaf84adc61f8ba0e0bcbaf8d63465d052b8a3.tar.gz
gentoo-43ceaf84adc61f8ba0e0bcbaf8d63465d052b8a3.tar.bz2
gentoo-43ceaf84adc61f8ba0e0bcbaf8d63465d052b8a3.zip
net-irc/irssi: Disable automagic dep on dev-libs/libutf8proc
Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-irc/irssi')
-rw-r--r--net-irc/irssi/files/irssi-1.2.0-fix-libutf8proc-include.patch25
-rw-r--r--net-irc/irssi/irssi-1.2.0-r2.ebuild (renamed from net-irc/irssi/irssi-1.2.0-r1.ebuild)25
2 files changed, 14 insertions, 36 deletions
diff --git a/net-irc/irssi/files/irssi-1.2.0-fix-libutf8proc-include.patch b/net-irc/irssi/files/irssi-1.2.0-fix-libutf8proc-include.patch
deleted file mode 100644
index 019c2660eeca..000000000000
--- a/net-irc/irssi/files/irssi-1.2.0-fix-libutf8proc-include.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 138596d84dfa060b5d035b96e7d1a57a7cbcd7b0 Mon Sep 17 00:00:00 2001
-From: Mikle Kolyada <zlogene@gentoo.org>
-Date: Tue, 12 Feb 2019 19:38:36 +0300
-Subject: [PATCH] wcwidth-wrapper.c: fix libutf8proc include path
-
----
- src/core/wcwidth-wrapper.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/core/wcwidth-wrapper.c b/src/core/wcwidth-wrapper.c
-index 03d0dc0c..b0df662f 100644
---- a/src/core/wcwidth-wrapper.c
-+++ b/src/core/wcwidth-wrapper.c
-@@ -27,7 +27,7 @@
- #include "utf8.h"
-
- #ifdef HAVE_LIBUTF8PROC
--#include <utf8proc.h>
-+#include <libutf8proc/utf8proc.h>
- #endif
-
- /* wcwidth=2 since unicode 5.2.0 */
---
-2.19.2
-
diff --git a/net-irc/irssi/irssi-1.2.0-r1.ebuild b/net-irc/irssi/irssi-1.2.0-r2.ebuild
index 79724a44e3b3..eaa6be9d5a33 100644
--- a/net-irc/irssi/irssi-1.2.0-r1.ebuild
+++ b/net-irc/irssi/irssi-1.2.0-r2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="otr +perl selinux socks5 +proxy libressl"
COMMON_DEPEND="
@@ -35,7 +35,6 @@ DEPEND="
RDEPEND="
${COMMON_DEPEND}
- dev-libs/libutf8proc
selinux? ( sec-policy/selinux-irc )
perl? ( !net-im/silc-client )"
@@ -45,20 +44,24 @@ S="${WORKDIR}/${MY_P}"
src_prepare() {
default
- eapply "${FILESDIR}"/${P}-fix-libutf8proc-include.patch
- if has_version '>=dev-libs/libressl-2.7.3'; then
- eapply "${FILESDIR}"/libressl.patch
+ if has_version '>=dev-libs/libressl-2.7.3' ; then
+ eapply "${FILESDIR}"/libressl.patch
fi
}
src_configure() {
- econf \
- --with-perl-lib=vendor \
- --enable-true-color \
- $(use_with otr) \
- $(use_with proxy) \
- $(use_with perl) \
+ # Disable automagic dependency on dev-libs/libutf8proc (bug #677804)
+ export ac_cv_lib_utf8proc_utf8proc_version=no
+
+ local myeconfargs=(
+ --with-perl-lib=vendor
+ --enable-true-color
+ $(use_with otr)
+ $(use_with proxy)
+ $(use_with perl)
$(use_with socks5 socks)
+ )
+ econf "${myeconfargs[@]}"
}
src_install() {