diff options
author | Sven Wegener <swegener@gentoo.org> | 2004-12-18 16:46:16 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2004-12-18 16:46:16 +0000 |
commit | 5e06617169ac29a051df6b65a5aa1bbb22714542 (patch) | |
tree | d6deef790c7b4911a7a0c3d4852840389550f0d7 /net-news/slrn | |
parent | Initial import. Go Duck. Fixes #70244. (Manifest recommit) (diff) | |
download | gentoo-2-5e06617169ac29a051df6b65a5aa1bbb22714542.tar.gz gentoo-2-5e06617169ac29a051df6b65a5aa1bbb22714542.tar.bz2 gentoo-2-5e06617169ac29a051df6b65a5aa1bbb22714542.zip |
Added built_with_use magic to depend on sys-libs/slang with unicode support, if the unicode USE flag is active.
Diffstat (limited to 'net-news/slrn')
-rw-r--r-- | net-news/slrn/ChangeLog | 6 | ||||
-rw-r--r-- | net-news/slrn/slrn-0.9.8.1.ebuild | 11 |
2 files changed, 15 insertions, 2 deletions
diff --git a/net-news/slrn/ChangeLog b/net-news/slrn/ChangeLog index 2869d4e3d329..f7abcee353df 100644 --- a/net-news/slrn/ChangeLog +++ b/net-news/slrn/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-news/slrn # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-news/slrn/ChangeLog,v 1.34 2004/12/07 14:39:56 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/slrn/ChangeLog,v 1.35 2004/12/18 16:46:16 swegener Exp $ + + 18 Dec 2004; Sven Wegener <swegener@gentoo.org> slrn-0.9.8.1.ebuild: + Added built_with_use magic to depend on sys-libs/slang with unicode support, + if the unicode USE flag is active. 07 Dec 2004; Gustavo Zacarias <gustavoz@gentoo.org> slrn-0.9.8.1.ebuild: Stable on sparc diff --git a/net-news/slrn/slrn-0.9.8.1.ebuild b/net-news/slrn/slrn-0.9.8.1.ebuild index da59599cbffb..758116ee2157 100644 --- a/net-news/slrn/slrn-0.9.8.1.ebuild +++ b/net-news/slrn/slrn-0.9.8.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-news/slrn/slrn-0.9.8.1.ebuild,v 1.5 2004/12/07 14:39:56 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/slrn/slrn-0.9.8.1.ebuild,v 1.6 2004/12/18 16:46:16 swegener Exp $ inherit eutils @@ -25,6 +25,15 @@ DEPEND="${RDEPEND} uudeview? ( dev-libs/uulib ) nls? ( sys-devel/gettext )" +pkg_setup() ( + if use unicode && ! built_with_use sys-libs/slang unicode + then + eerror "For USE=\"unicode\" support you need to have your sys-libs/slang also compiled" + eerror "with USE=\"unicode\" support." + die "sys-libs/slang with USE=\"unicode\" support needed" + fi +) + src_unpack() { unpack ${A} cd ${S} |