app-misc/gcal: Add missing dependency on dev-libs/libunistring.
authorUlrich Müller <ulm@gentoo.org>
Tue, 30 Jan 2018 07:57:21 +0000 (08:57 +0100)
committerUlrich Müller <ulm@gentoo.org>
Tue, 30 Jan 2018 08:12:14 +0000 (09:12 +0100)
Bug: https://bugs.gentoo.org/645882
Package-Manager: Portage-2.3.20, Repoman-2.3.6

app-misc/gcal/gcal-4.1.ebuild

index da50405b57031464c3e24030ccfa8c921e3fcc3d..d5a8dbc1d9dc81fe6f21a6c6dad3f5a914f0333b 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit eutils flag-o-matic toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="The GNU Calendar - a replacement for cal"
 HOMEPAGE="https://www.gnu.org/software/gcal/"
@@ -16,15 +16,18 @@ IUSE="ncurses nls unicode"
 
 DEPEND="
        app-arch/xz-utils
-       nls? ( >=sys-devel/gettext-0.17 )"
+       nls? ( >=sys-devel/gettext-0.17 )
+       unicode? ( dev-libs/libunistring:= )"
 
-RDEPEND="nls? ( virtual/libintl )"
+RDEPEND="nls? ( virtual/libintl )
+       unicode? ( dev-libs/libunistring:= )"
 
 DOCS=( BUGS LIMITATIONS NEWS README THANKS TODO )
 
 src_configure() {
        tc-export CC
        append-cppflags -D_GNU_SOURCE
+       use unicode && append-libs -lunistring
        econf \
                --disable-rpath \
                $(use_enable nls) \