summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libcrypto/generate_pkgconfig.sh5
-rw-r--r--lib/libssl/generate_pkgconfig.sh5
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/libcrypto/generate_pkgconfig.sh b/lib/libcrypto/generate_pkgconfig.sh
index e03f849e761..d9ee4e79e79 100644
--- a/lib/libcrypto/generate_pkgconfig.sh
+++ b/lib/libcrypto/generate_pkgconfig.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: generate_pkgconfig.sh,v 1.3 2021/06/08 11:19:39 inoguchi Exp $
+# $OpenBSD: generate_pkgconfig.sh,v 1.4 2022/02/04 16:42:15 tb Exp $
#
# Copyright (c) 2010,2011 Jasper Lievisse Adriaanse <jasper@openbsd.org>
#
@@ -53,7 +53,8 @@ fi
version_re="s/^#define[[:blank:]]+SHLIB_VERSION_NUMBER[[:blank:]]+\"(.*)\".*/\1/p"
#version_file=${curdir}/src/crypto/opensslv.h
version_file=${curdir}/opensslv.h
-lib_version=$(sed -nE ${version_re} ${version_file})
+#lib_version=$(sed -nE ${version_re} ${version_file})
+lib_version=2.0.0
# Put -I${includedir} into Cflags so configure script tests like
# test -n "`pkg-config --cflags openssl`"
diff --git a/lib/libssl/generate_pkgconfig.sh b/lib/libssl/generate_pkgconfig.sh
index 4bc22c3267f..e1e663f399d 100644
--- a/lib/libssl/generate_pkgconfig.sh
+++ b/lib/libssl/generate_pkgconfig.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: generate_pkgconfig.sh,v 1.10 2021/06/08 11:19:39 inoguchi Exp $
+# $OpenBSD: generate_pkgconfig.sh,v 1.11 2022/02/04 16:42:15 tb Exp $
#
# Copyright (c) 2010,2011 Jasper Lievisse Adriaanse <jasper@openbsd.org>
#
@@ -52,7 +52,8 @@ fi
version_re="s/^#define[[:blank:]]+SHLIB_VERSION_NUMBER[[:blank:]]+\"(.*)\".*/\1/p"
version_file=${curdir}/../libcrypto/opensslv.h
-lib_version=$(sed -nE ${version_re} ${version_file})
+#lib_version=$(sed -nE ${version_re} ${version_file})
+lib_version=2.0.0
# Put -I${includedir} into Cflags so configure script tests like
# test -n "`pkg-config --cflags openssl`"