Date: Sun, 4 May 2014 02:18:08 -0400 From: Garrett Wollman <wollman@bimajority.org> To: Scot Hetzel <swhetzel@gmail.com> Cc: FreeBSD Security <FreeBSD-security@freebsd.org> Subject: Re: ports/189208: Add a mention of WITH_OPENSSL_PORT to the pkg-descr of security/openssl Message-ID: <21349.56224.889050.674760@hergotha.csail.mit.edu> In-Reply-To: <CACdU%2Bf-LuMS2kzvd46Ct7Nysq6=aZbnZurUmAaLDkejW1YDGBw@mail.gmail.com> References: <201405031619.s43GJbXQ095254@freefall.freebsd.org> <18F230B0-65F4-4DAE-A771-52AAE7B00573@proper.com> <CACdU%2Bf-LuMS2kzvd46Ct7Nysq6=aZbnZurUmAaLDkejW1YDGBw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
<<On Sat, 3 May 2014 12:55:36 -0500, Scot Hetzel <swhetzel@gmail.com> said:
> bsd.openssl.mk has the falling checks:
> if WITH_OPENSSL_BASE is set, then use the base system's OpenSSL.
> if WITH_OPENSSL_BASE or WITH_OPENSSL_PORT are not set, check if
> ${LOCALBASE}/lib/libcrypto.so is installed, if it is then use the
> OpenSSL port, otherwise use the base system's OpenSSL.
> if WITH_OPENSSL_PORT is set, then use the OpenSSL port
> So, if you install the OpenSSL port first, then ports that require
> OpenSSL should be built against the OpenSSL Port.
Doesn't work for package builds: the OpenSSL package will not be
installed prior to building the port unless the port depends on it.
On the other hand, it's probably necessary for non-poudriere builds,
because if your build environment *does* have the OpenSSL port
installed, chances are high that anything you build will end up
linking against it unless it's installed with a nonstandard PREFIX.
-GAWollman
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21349.56224.889050.674760>
