Remove obsolete patch

The LDFLAGS bits in Makefile obsoleted this patch, seems I forgot
to remove this patch during porting.
This commit is contained in:
kn 2022-07-08 13:12:14 +00:00
parent ebe27efe03
commit 974535e506
2 changed files with 2 additions and 15 deletions

View File

@ -2,6 +2,7 @@ COMMENT = library for creating DigiDoc signature files
V = 3.14.8
DISTNAME = libdigidocpp-${V}
REVISION = 0
CATEGORIES = security
SHARED_LIBS = digidocpp 0.0 # 0.0
@ -62,6 +63,7 @@ CONFIGURE_ENV += LDFLAGS=${LDFLAGS:Q}
# dlopen()'ed "opensc-pkcs11.so" in libdigidocpp.so
LIB_DEPEPNDS += security/opensc
# alternative to https://github.com/open-eid/cmake/pull/35
CONFIGURE_ARGS += -DCMAKE_SHARED_LINKER_FLAGS="${LDFLAGS} \
-Wl,-rpath,/usr/local/lib/pkcs11"

View File

@ -1,15 +0,0 @@
Set correct OpenSC PKCS11 module path
https://github.com/open-eid/cmake/pull/34
Index: cmake/modules/FindPKCS11.cmake
--- cmake/modules/FindPKCS11.cmake.orig
+++ cmake/modules/FindPKCS11.cmake
@@ -9,7 +9,7 @@ if(APPLE)
elseif(WIN32)
set(PKCS11_MODULE opensc-pkcs11.dll)
else()
- set(PKCS11_MODULE opensc-pkcs11.so)
+ set(PKCS11_MODULE /usr/local/lib/pkcs11/opensc-pkcs11.so)
endif()
include(FindPackageHandleStandardArgs)