Problem: The gnutls-1.4.4-r1 ebuild unconditionally (r)depends on gettext, even if the nls use flag is not set. Solution: The ebuild should check the nls use flag and only add sys-devel/gettext to RDEPEND if the flag is set. I'll attatch a fixed ebuild.
Created attachment 97852 [details] Fixed ebuild
Created attachment 97854 [details, diff] Fix as patch This is a diff between the original and the fixed ebuild file.
Comment on attachment 97852 [details] Fixed ebuild How exactly will this work? You didn't change anything except for adding the use flag. You need $(use_enable nls) there (and no, I didn't check if it's even honored by the build system).
Plus gettext shouldn't be in RDEPEND: RDEPEND="nls? ( virtual/libintl ) ...." DEPEND="${RDEPEND} nls? ( sys-devel/gettext )"
(In reply to comment #3) > (From update of attachment 97852 [details] [edit]) > How exactly will this work? You didn't change anything except for adding the > use flag. I added a check to RDEPEND, this is how it's done in other ebuilds and with the other use flags in the gnutls ebuild. The important part of the fix is: - sys-devel/gettext" + nls? ( sys-devel/gettext )" in RDEPEND=... So please check it again.
(In reply to comment #4) > Plus gettext shouldn't be in RDEPEND: > > RDEPEND="nls? ( virtual/libintl ) > ...." > > DEPEND="${RDEPEND} > nls? ( sys-devel/gettext )" > Well, I just want to get gettext out of my non-nls system. Someone else put in into RDEPNED in the first place.
by bad. Thanks Timo for bringing it to my attentioned. Problem should be fixed now.