Summary: | sys-fs/xfsdump - fails linking to 'libintl_gettext' under uclibc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joshua Kinard <kumba> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dev-embedded+disabled, embedded, mips |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 547292, 570544 | ||
Attachments: | Make gettext/libintl support optional in xfsdump-3.1.6 |
Description
Joshua Kinard
2016-01-02 01:41:37 UTC
Created attachment 421568 [details, diff]
Make gettext/libintl support optional in xfsdump-3.1.6
@base-system, @embedded,
I tried several approaches to getting xfsdump's build system to properly detect -lintl (provided by dev-libs/libintl on uclibc, not by sys-devel/gettext, it looks). But unless I use append-ldflags to pass -lintl, the build will fail, as it looks like xfsdump's build system doesn't honor/use $LIBS correctly.
So, I instead modded the ebuild to make gettext support optional via the 'nls' USE flag, and for uclibc, this flag will be force-disabled in the uclibc profile's package.use.mask. I also left the elibc_uclibc USE dep in there for the future.
Look good?
Added to the tree on the 3.1.6 ebuild only. |