WITH_GCC

Andriy Gapon avg at FreeBSD.org
Thu May 10 21:10:29 UTC 2012


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


More information about the freebsd-ports mailing list