openssl: install pc files
authorBaptiste Daroussin <bapt@FreeBSD.org>
Fri, 26 Aug 2022 14:02:09 +0000 (16:02 +0200)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Tue, 6 Sep 2022 07:32:02 +0000 (09:32 +0200)
commitb323fa85f15268ac44b8ff90faf90bce5d87b608
treeb150e5a8044bab5f9796415a4f75f789cbbffd61
parent203f2c14c4b3c7a3e8f51a5a248201e1eb091886
openssl: install pc files

most programs in ports are looking for .pc files in order to get the
necessary information on how to compile and link against openssl.

The ports now also has a way to hide or force a path for pkgconf.

Providing .pc files along with openssl in base will allow (once all
the supported version of FreeBSD has it) so improve the framework to
deal with openssl in base vs openssl in ports (and libressl)

This will also greatly reduce the number of patches necessary to
workaround the build systems which only knows how to detect where
openssl is installed via pkgconf.

PR: 266051
MFC After: 3 weeks
Reviewed by: jkim, delphij
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D36360
secure/lib/libcrypto/Makefile
secure/lib/libcrypto/Makefile.inc
secure/lib/libcrypto/libcrypto.pc.in [new file with mode: 0644]
secure/lib/libssl/Makefile
secure/lib/libssl/libssl.pc.in [new file with mode: 0644]
secure/lib/libssl/openssl.pc.in [new file with mode: 0644]