Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 124501

Summary: dev-lang/yasm: add nls useflag
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Danny van Dyk (RETIRED) <kugelfang>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: yasm-ebuild.patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-01 02:37:16 UTC
At least version 0.5.0 of yasm supports disabling nls with --disable-nls switch.
The attached patch applied over that ebuilds add the nls useflag, fixing the dependencies so that virtual/libintl and gettext are brought in when needed (the first in RDEPEND, the second in DEPEND), and disabling it when unneeded.
This allows to have an yasm binary that doesn't link to libintl on non-glibc arches.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-01 02:37:41 UTC
Created attachment 81018 [details, diff]
yasm-ebuild.patch
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2006-03-01 14:15:43 UTC
In CVS Diego, thanks!