Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 May 2021 01:10:37 +0900 (JST)
From:      Yasuhiro Kimura <yasu@utahime.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Making a port to use OpenSSL of ports collection on FreeBSD 11.x
Message-ID:  <20210506.011037.2056308540818173996.yasu@utahime.org>
In-Reply-To: <eb646c67dea5797baa51c22b54e50568@bsdforge.com>
References:  <8151EFB0-635D-4648-AF0B-653E45584F1A@grem.de> <20210505.232208.1752175478734160028.yasu@utahime.org> <eb646c67dea5797baa51c22b54e50568@bsdforge.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Chris <portmaster@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210506.011037.2056308540818173996.yasu>