Making a port to use OpenSSL of ports collection on FreeBSD 11.x

Chris portmaster at bsdforge.com
Wed May 5 15:02:58 UTC 2021


On 2021-05-05 07:22, Yasuhiro Kimura 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.
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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list