On 2010/01/28 14:45, Giovanni Bechis wrote:
> Stuart Henderson wrote:
> >On 2010/01/28 12:14, Giovanni Bechis wrote:
> >>Stuart Henderson wrote:
> >>>I've been running the previous diffs since they were published,
> >>>I think we should be looking at committing this right after unlock.
> >>>
> >>It still conflicts with databases/tdb because of tdb.h, with should
> >>find a way to handle this before committing.
> >
> >The conflict isn't a problem, no problem to move databases/tdb's
> >copy of tdb.h out of the way and patch mail/fdm to use it.
> >
> If moving databases/tdb's copy of tdb.h is not a problem I think this
> is the right way to proceed.
>
> >The problem is samba doesn't /build/ with tdb installed.
> >Changing the LDFLAGS line in CONFIGURE_ENV should do the trick:
...and indeed it does; tested + working with tdb installed.
> > LDFLAGS="-L./bin -L${LOCALBASE}/lib -Wl,--export-dynamic" \
> >
> LDFLAGS+="-L${LOCALBASE}/lib -Wl,--export-dynamic"
> should work too.
I haven't checked but I don't think that will work, -L./bin needs to
be listed before -L${LOCALBASE}/lib.