summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-01-30 08:57:21 +0100
committerUlrich Müller <ulm@gentoo.org>2018-01-30 09:12:14 +0100
commitc5d38c1604603e14b166b053bed91888dc7c67f2 (patch)
treeb45b4749cc96d7779f8893310297a2c4a57d9671 /app-misc/gcal/gcal-4.1.ebuild
parentdev-libs/libbsd: Removed old. (diff)
downloadgentoo-c5d38c1604603e14b166b053bed91888dc7c67f2.tar.gz
gentoo-c5d38c1604603e14b166b053bed91888dc7c67f2.tar.bz2
gentoo-c5d38c1604603e14b166b053bed91888dc7c67f2.zip
app-misc/gcal: Add missing dependency on dev-libs/libunistring.
Bug: https://bugs.gentoo.org/645882 Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'app-misc/gcal/gcal-4.1.ebuild')
-rw-r--r--app-misc/gcal/gcal-4.1.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/app-misc/gcal/gcal-4.1.ebuild b/app-misc/gcal/gcal-4.1.ebuild
index da50405b570..d5a8dbc1d9d 100644
--- a/app-misc/gcal/gcal-4.1.ebuild
+++ b/app-misc/gcal/gcal-4.1.ebuild
@@ -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) \