Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124501 - dev-lang/yasm: add nls useflag
Summary: dev-lang/yasm: add nls useflag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal
Assignee: Danny van Dyk (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-03-01 02:37 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-03-01 14:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
yasm-ebuild.patch (yasm-ebuild.patch,696 bytes, patch)
2006-03-01 02:37 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!