Date: Wed, 5 May 2021 17:32:02 +0200 From: Michael Gmelin <freebsd@grem.de> To: Yasuhiro Kimura <yasu@utahime.org> Cc: freebsd-ports@freebsd.org Subject: Re: Making a port to use OpenSSL of ports collection on FreeBSD 11.x Message-ID: <20210505173202.36f1c307@bsd64.grem.de> In-Reply-To: <20210505.232208.1752175478734160028.yasu@utahime.org> References: <20210505.044904.213100914297809480.yasu@utahime.org> <8151EFB0-635D-4648-AF0B-653E45584F1A@grem.de> <20210505.232208.1752175478734160028.yasu@utahime.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 05 May 2021 23:22:08 +0900 (JST) Yasuhiro Kimura <yasu@utahime.org> wrote: > From: Michael Gmelin <freebsd@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): DEFAULT_VERSIONS+=ssl=libressl for LibreSSL and DEFAULT_VERSIONS+=ssl=openssl for openssl from ports. See also: $ 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. # Cheers, Michael > > --- > Yasuhiro Kimura > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org" -- Michael Gmelin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210505173202.36f1c307>