ports/146419: [patch] devel/directfb: FREETYPE2 enabled unconditionally
b. f.
bf1783 at googlemail.com
Mon May 10 07:20:06 UTC 2010
The following reply was made to PR ports/146419; it has been noted by GNATS.
From: "b. f." <bf1783 at googlemail.com>
To: Anonymous <swell.k at gmail.com>
Cc: bug-followup at freebsd.org
Subject: Re: ports/146419: [patch] devel/directfb: FREETYPE2 enabled
unconditionally
Date: Mon, 10 May 2010 07:11:52 +0000
On 5/10/10, Anonymous <swell.k at gmail.com> wrote:
> "b. f." <bf1783 at googlemail.com> writes:
>> On 5/10/10, Anonymous <swell.k at gmail.com> wrote:
>>> And ports/144765 does exactly that, i.e. adds OPTIONS, except it doesn't
>
> No, I'm talking about cases like in graphics/gimp-app
>
> .if defined(WITH_GVFS) || ${HAVE_GNOME:Mgvfs}!=""
> LIB_DEPENDS+= gnome-keyring.0:${PORTSDIR}/security/gnome-keyring
> USE_GNOME+= gvfs
> . if ${HAVE_GNOME:Mlibgnomeui}!=""
> USE_GNOME+= libgnomeui
> . endif
> .endif
>
> Note, the port does not provide a way to disable GVFS when it's installed
>
I should note, too, that there is a way to override this: by setting
WITHOUT_GNOME=yes or WITHOUT_GNOME=1. The details are buried in
bsd.gnome.mk. But this is just proving my point: obscure variables
like WITHOUT_FREETYPE and WITHOUT_GNOME, hidden away in Makefiles,
don't make it easy for the user. Using and enforcing OPTIONS is
usually the better way.
b.
More information about the freebsd-ports-bugs
mailing list