Bug 218555 - sys-apps/pciutils-3.0.0 do not build on g/fbsd
|
Bug#:
218555
|
Product: Gentoo/Alt
|
Version: unspecified
|
Platform: All
|
|
OS/Version: FreeBSD
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: bsd@gentoo.org
|
Reported By: toffanin.mauro@gmail.com
|
|
Component: FreeBSD
|
|
|
URL:
|
|
Summary: sys-apps/pciutils-3.0.0 do not build on g/fbsd
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-04-20 12:26 0000
|
sys-apps/pciutils-3.0.0 do not compile on g/fbsd because the ebuild force the
option DNS=yes wich require libresolv.so to be present on the system, but
libresolv.so is available only on glibc systems, not on the *BSD system.
attached there is a an ebuild patch that fix the problem.
as AT i have tested the proposed patch both on Gentoo/Linux and Gentoo/FreeBSD
and all work correctly.
elibc_glibc is not appropriate
the OPT should not be moved to the subfunction ... we dont want to do compiling
in src_install
(In reply to comment #2)
> elibc_glibc is not appropriate
can you be more specific? thanks you.
if i say "elibc_glibc" is not appropriate, it logically follows that making the
statement "libresolv is only available with glibc" is wrong.
Created an attachment (id=157163) [details]
patch sent upstream
here is the patch i sent upstream, the needed functions are in the libc and we
dont have libresolv on fbsd.
may be it needs the same modifications for other *bsd, but as I'm not sure I
didn't include the changes.
*** Bug 231007 has been marked as a duplicate of this bug. ***
your patch is white space damaged ... otherwise, ive added it to pciutils-3.0.0
i'm assuming it'll get merged upstream ;)