Previously, they were all using the portable package version, rather
than the individual library versions. openssl(1)'s pc file represents
the LibreSSL-portable release however.

$ pkg-config --modversion libtls
1:0:0
$ pkg-config --modversion openssl
2.1.2
$ pkg-config --modversion libssl
30:0:0
$ pkg-config --modversion libcrypto
30:3:0
---
 libcrypto.pc.in | 2 +-
 libssl.pc.in    | 2 +-
 libtls.pc.in    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libcrypto.pc.in b/libcrypto.pc.in
index 4e886b9..f44e3aa 100644
--- a/libcrypto.pc.in
+++ b/libcrypto.pc.in
@@ -7,7 +7,7 @@ includedir=@includedir@
 
 Name: LibreSSL-libssl
 Description: Secure Sockets Layer and cryptography libraries
-Version: @VERSION@
+Version: @LIBCRYPTO_VERSION@
 Requires:
 Conflicts:
 Libs: -L${libdir} -lcrypto
diff --git a/libssl.pc.in b/libssl.pc.in
index 43b8bb7..1800264 100644
--- a/libssl.pc.in
+++ b/libssl.pc.in
@@ -7,7 +7,7 @@ includedir=@includedir@
 
 Name: LibreSSL-libssl
 Description: Secure Sockets Layer and cryptography libraries
-Version: @VERSION@
+Version: @LIBSSL_VERSION@
 Requires:
 Requires.private: libcrypto
 Conflicts:
diff --git a/libtls.pc.in b/libtls.pc.in
index 19e6b32..64d7457 100644
--- a/libtls.pc.in
+++ b/libtls.pc.in
@@ -7,7 +7,7 @@ includedir=@includedir@
 
 Name: LibreSSL-libtls
 Description: Secure communications using the TLS socket protocol.
-Version: @VERSION@
+Version: @LIBTLS_VERSION@
 Requires:
 Requires.private: libcrypto libssl
 Conflicts:
-- 
2.2.0

Reply via email to