Making a port to use OpenSSL of ports collection on FreeBSD 11.x
freebsd at grem.de
Wed May 5 15:32:13 UTC 2021
On Wed, 05 May 2021 23:22:08 +0900 (JST)
Yasuhiro Kimura <yasu at utahime.org> wrote:
> From: Michael Gmelin <freebsd at grem.de>
> Subject: Re: Making a port to use OpenSSL of ports collection on
> FreeBSD 11.x Date: Tue, 4 May 2021 23:05:06 +0200
> > See
> > https://docs.freebsd.org/en/books/porters-handbook/uses/#uses-ssl
> > Best
> I checked it but couldn't find proper solution.
> I think what is necessary in my case is something like version-spec
> argument of 'USES=python'.
> For example, if 'USES=python:3.8+' is specified in Makefile of a port,
> lang/python38 is used for it even if user sets
> 'DEFAULT_VERSIONS+=python=3.7' in /etc/make.conf.
> But 'USES=ssl' doesn't provide such argument.
Which port are you talking about by the way?
This worked for me just fine in the past (placed in make.conf):
for LibreSSL and
for openssl from ports.
$ head -n12 /usr/ports/Mk/Uses/ssl.mk
# Handle dependency on *ssl ports.
# Feature: SSL_DEFAULT
# Usage: USES=ssl
# Valid ARGS: none (build and run), build, run
# The user can choose which ssl library he wants with:
# DEFAULT_VERSIONS+= ssl=<openssl variant>
# Variants being base, openssl, libressl, and libressl-devel.
> Yasuhiro Kimura
> freebsd-ports at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscribe at freebsd.org"
More information about the freebsd-ports