devel/apr and/or devel/subversion problem

Roman Neuhauser neuhauser at bellavista.cz
Sat Oct 11 09:54:08 PDT 2003


# lev at FreeBSD.org / 2003-10-11 20:42:33 +0400:
> Hello, Roman!
> Saturday, October 11, 2003, 8:10:36 PM, you wrote:
> 
> >>   What I wanted to say: you have libgdbm.so, but doesn't have gdbm
> >>   package installed. It is not porlem of apr, it know nothing about
> >>   FreeBSD's port system, it know about available libraries. May be, it
> >>   will be right to add WITH_GDBM knob to `devel/apr', but it is
> >>   question for `devel/apr''s maintainer.
> RN>     What I wanted to say: if aprutil looks for gdbm, and can be
> RN>     configured in this regard, it needs to (optionally) LIB_DEPEND on
> RN>     gdbm. I am obviously not alone who got snagged by this, see
>   It is not related questions. Of course, it is possible to add such
> knob to port. But it doesn't help, when knob will be OFF, but apr-util
> FINDS this library.

    apr-util has --with-gdbm (or similar), which defaults to yes. if you
    add

    .if defined(WITH_GDBM)
    LIB_DEPENDS+=...
    CONFIGURE_ARGS+=--with-gdbm=...
    .else
    CONFIGURE_ARGS+=--without-gdbm
    .endif

    you will have fixed the problem.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html


More information about the freebsd-ports mailing list