Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2003 18:54:04 +0200
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        Lev Serebryakov <lev@FreeBSD.org>
Cc:        freebsd-ports <freebsd-ports@FreeBSD.org>
Subject:   Re: devel/apr and/or devel/subversion problem
Message-ID:  <20031011165404.GA348@freepuppy.bellavista.cz>
In-Reply-To: <52496606.20031011204233@serebryakov.spb.ru>
References:  <20030905041807.GI68249@freepuppy.bellavista.cz> <9310678632.20030906000155@serebryakov.spb.ru> <20030911081340.GW51816@freepuppy.bellavista.cz> <1511560788.20030914100628@serebryakov.spb.ru> <20031011161036.GZ348@freepuppy.bellavista.cz> <52496606.20031011204233@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
# lev@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031011165404.GA348>