Date: Wed, 05 May 2021 08:03:00 -0700 From: Chris <portmaster@bsdforge.com> 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: <eb646c67dea5797baa51c22b54e50568@bsdforge.com> 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 2021-05-05 07:22, Yasuhiro Kimura 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. I ran into a similar situation requiring freebsd 11 users not use SSL from base, and I simply used a conditional based against freebsd version, that also included a RUN_DEPENDS on security/openssl Wouldn't that work in your case? --Chris > > --- > 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eb646c67dea5797baa51c22b54e50568>