Making a port to use OpenSSL of ports collection on FreeBSD 11.x
Yasuhiro Kimura
yasu at utahime.org
Wed May 5 16:10:49 UTC 2021
From: Chris <portmaster at bsdforge.com>
Subject: Re: Making a port to use OpenSSL of ports collection on FreeBSD 11.x
Date: Wed, 05 May 2021 08:03:00 -0700
> 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
Probably only adding security/openssl to *_DEPENDS isn't enough. If
you look at Mk/Uses/ssl.mk, you'll find the path of include files and
libraries are customized depending on which ssl stack is used. So you
also need to add similar custimizetion in Makefile of port avoding
conflicts with the settings in Mk/Uses/ssl.mk. And it must be hard
job.
---
Yasuhiro Kimura
More information about the freebsd-ports
mailing list