Bug 257158

Summary: OpenSSL: Install pkgconfig files
Product: Base System Reporter: Po-Chuan Hsieh <sunpoet>
Component: binAssignee: Jung-uk Kim <jkim>
Status: Closed DUPLICATE    
Severity: Affects Only Me CC: delphij, emaste, jkim
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Po-Chuan Hsieh freebsd_committer freebsd_triage 2021-07-13 18:09:04 UTC
OpenSSL ships with pkgconfig files (libcrypto.pc, libssl.pc and openssl.pc).
OpenSSL port install them but OpenSSL from base system does not.
Therefore, some ports (e.g. devel/grpc and security/libfido2) need extra patch if OpenSSL from base system is used [1][2].
It would be better if we could install these pkgconfig files.
Thanks!

[1] https://github.com/freebsd/freebsd-ports/blob/main/devel/grpc/Makefile#L44-L47
[2] https://github.com/freebsd/freebsd-ports/blob/main/security/libfido2/Makefile#L28-L32
Comment 1 Xin LI freebsd_committer freebsd_triage 2022-04-11 03:31:00 UTC
Here is another (earlier) request to add support of pkgconfig.  For consistency I think we should add it (pretty much like other libraries that we ship with FreeBSD base).

*** This bug has been marked as a duplicate of bug 257659 ***