Summary: | dev-libs/redland-1.0.6 fails compilation on g/fbsd | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | MT <toffanin.mauro> |
Component: | FreeBSD | Assignee: | Christian Heim (RETIRED) <phreak> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bsd+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | FreeBSD | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
redland-1.0.6-fbsd.patch
redland-1.0.6.ebuild.patch |
Description
MT
2007-08-29 18:38:29 UTC
Created attachment 129568 [details, diff]
redland-1.0.6-fbsd.patch
Created attachment 129570 [details, diff]
redland-1.0.6.ebuild.patch
NOTE: as AT i have tested the patchset both on Gentoo/Linux and Gentoo/FreeBSD and the package compile and work correctly. i'm not sure if my fix is the proper solution at the problem, so it must be sended upstream? inherit db-use eutils flag-o-matic append-cppflags -I$(db_includedir) We need that for berkdb support, aside from that everything looks good. Have you sent the patch upstream? (In reply to comment #3) > NOTE: as AT i have tested the patchset both on Gentoo/Linux and Gentoo/FreeBSD > and the package compile and work correctly. i'm not sure if my fix is the > proper solution at the problem, so it must be sended upstream? Yup, I really think this should be sent upstream. Wanna do me a favor and do that ? If not, no problem. (In reply to comment #4) > inherit db-use eutils flag-o-matic > append-cppflags -I$(db_includedir) > > We need that for berkdb support, aside from that everything looks good. If I do that, we have to rip of the check in configure, as its also including db-4.3 (at least here). -- i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/db4.5 -I/usr/include/db4.3 -DPKGDATADIR=\"/usr/share/redland\" -I/usr/include/db4.5 -I/usr/include/db4.3 -DLIBRDF_INTERNAL=1 -O2 -pipe -march=i686 -g -ggdb2 -MT rdf_parser_raptor.lo -MD -MP -MF .deps/rdf_parser_raptor.Tpo -c rdf_parser_raptor.c -o rdf_parser_raptor.o >/dev/null 2>&1 (In reply to comment #6) > (In reply to comment #4) > > inherit db-use eutils flag-o-matic > > append-cppflags -I$(db_includedir) > > > > We need that for berkdb support, aside from that everything looks good. > > If I do that, we have to rip of the check in configure, as its also including > db-4.3 (at least here). Actually it looks like its failing w/ db-4.5, at least when looking at the config.log. Gonna file a separate bug for that. That should not matter - as long as the right include dir is first. OK, the initial fbsd issue should be fixed in CVS now. (In reply to comment #5) > Yup, I really think this should be sent upstream. Wanna do me a favor and do > that ? If not, no problem. sure, i'll do today and than i link here the bugreport. here the upstream bugreport: http://bugs.librdf.org/mantis/view.php?id=230 |