Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2012 00:10:25 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Scot Hetzel <swhetzel@gmail.com>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: WITH_GCC
Message-ID:  <4FAC2EC1.8040708@FreeBSD.org>
In-Reply-To: <CACdU%2Bf_77t7GCH2hm3hwcK2i%2BTcHUq_aBP4a7SeghQhGz3soDg@mail.gmail.com>
References:  <CAGFTUwPUFdP=Z20%2BbL59qFuh_V6R1R-GcyrK03dxESL6ZyGz7A@mail.gmail.com> <4F578AA7.4060008@FreeBSD.org> <4F990D9A.3090100@FreeBSD.org> <4FA643FA.3050206@FreeBSD.org> <4FAB6E01.50108@FreeBSD.org> <CACdU%2Bf_77t7GCH2hm3hwcK2i%2BTcHUq_aBP4a7SeghQhGz3soDg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 10/05/2012 19:48 Scot Hetzel said the following:
> For Mk/bsd.database.mk - the meaning of USE_, WITH_ and WANT_ variables are:
> 
> USE_* - Maintainer - Add dependency. If no version is given (by the
> maintainer via the port or by the user via defined variable), try to
> find the currently installed version.  Fall back to default if
> necessary.
> 
> WITH_*_VER - User defined variable to set version
> 
> WANT_*_VER - Maintainer can set an arbitrary version to always build
> this port with (overrides WITH_*_VER).
> 
> So the appropriate name for this user defined variable should be
> WITH_GCC since it sets both a dependancy and version for GCC as
> requested by the user.

Thank you very much!

P.S.
Perhaps this information should also be somewhere in the Porter's Handbook.

-- 
Andriy Gapon



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