ports/security/libp11/files/patch-configure.ac
Alex Dupre 2c7f75ce6f Fix soname version generation and bump port revisions.
PR:		249052
Submitted by:	Ole <ole@free.de>
2020-09-02 14:42:40 +00:00

20 lines
607 B
Text

--- configure.ac.orig 2019-04-03 20:14:33 UTC
+++ configure.ac
@@ -39,7 +39,7 @@ case "`$PKG_CONFIG --modversion --silence-errors libcr
LIBP11_LT_OLDEST="2"
debian_ssl_prefix="openssl-1.0.0";;
*) # Engines directory prefix for OpenSSL 0.9.x
- LIBP11_LT_OLDEST="2"
+ LIBP11_LT_OLDEST="3" # FreeBSD base has openssl 1.1.*
debian_ssl_prefix="ssl";;
esac
@@ -208,7 +208,7 @@ if test -n "${pkcs11_module}"; then
[Default PKCS#11 module.])
fi
-pkgconfigdir="\$(libdir)/pkgconfig"
+pkgconfigdir="\$(prefix)/libdata/pkgconfig"
AC_SUBST([pkgconfigdir])
AC_SUBST([apidocdir])