Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
lsof requires an OS to be built..in the .ebuild it has linux instead of the actual OS, I made an ebuild for 4.77 together with some patches from fbsd to be able to build it under linux/freebsd and possibly gentoo-obsd and -nbsd since it nows uses the OS name
Created an attachment (id=86043) [edit] contains the lsof dir with the .ebuild for 4.77 + patches
Created an attachment (id=86046) [edit] contains the lsof dir with the .ebuild for 4.77 + patches
Created an attachment (id=86057) [edit] lsof-4.77.ebuild
Created an attachment (id=86058) [edit] lsof-4.77-machine.h.patch
Created an attachment (id=86060) [edit] lsof-4.77-dlsof.h.patch
[Thanks Robert for the splitting. Please next time provide the files separately.] The ebuild is unacceptable as it is, as uname is called in global scope and anyway it should never be used if possible because it breaks crosscompile. You should set OS based on ${CHOST} in pkg_setup instead. If you can provide a diff from the original and working ebuild it would be better, too.
Created an attachment (id=86081) [edit] .ebuild patch from 4.76 to 4.77
Mike can you take a look to this?
(From update of attachment 86057 [edit]) too many examples of things *not to do* here
(From update of attachment 86081 [edit]) i dont get your src_unpack() changes ... all the code you removed is wrong everything in src_compile() looks fine
*** Bug 134225 has been marked as a duplicate of this bug. ***
lsof-4.78 has been keywored ~x86-fbsd