standard settings for ports.
Matthew Seaman
matthew at FreeBSD.org
Wed Jan 18 18:07:03 UTC 2017
On 01/18/17 17:25, Julian Elischer wrote:
> I know there are some standard setting one can set..
>
>
> make ports shows 8 but I know there are many more.
>
>
> like what version of perl you want to use throughout your system
>
> or whether you want to use openssl from ports or system or what version
> of python..
>
> or whether to use some version of gcc or ...
>
>
> Is there a list somewhere as to where all these are found?
>
> for example setting NO-X11-yes (or someting like that)
>
>
> things I'd like to turn off include
>
> DOCS, EXAMPLES, MAN, X11,
>
> Also I'd like to specify that I'd like everything to try use python 2.7
>
> and jdk8
>
> can I set the USES stuff from the command line?(no?)
>
>
> pointers appreciated...
>
>
> Julian
You can't *set* USES stuff from the command line, but you can generally
add variable settings to your make.conf to control what the USES
mechanisms do. Note -- for poudriere, the relevant make.conf file is
typically /usr/local/etc/poudriere.d/make.conf although you can prepend
jail or other terms to allow you to customize settings for different repos.
To set which versions of various ports you want, use DEFAULT_VERSIONS in
your make.conf -- eg. something like
DEFAULT_VERSIONS= perl5=5.22 pgsql=9.2 apache=2.4 php=5.6 \
mysql=5.6 ruby=2.2 ssl=openssl lua=5.3 varnish=4
See ${PORTSDIR}/Mk/bsd.default-versions.mk for all the things you can
control this way.
Unfortunately, which JDK version you use is not controlled by this
mechanism. I think you can do something like:
JAVA_PORT= java/openjdk8
in make.conf though.
To turn an OPTION setting on or off globally, add:
OPTIONS_SET= DOCS EXAMPLES
OPTIONS_UNSET= X11
note that this will be overridden by a per-port setting which you can
make by eg. 'poudriere options -c editors/emacs' or you can add per-port
OPTIONS settings to your make.conf like so:
editors_emacs_OPTIONS_UNSET= X11
Cheers,
Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20170118/c4ae317d/attachment.sig>
More information about the freebsd-pkg
mailing list