void-packages/srcpkgs/libkcapi/patches/makefile.patch
maxice8 6d67943643 libkcapi: update to 1.1.0.
Closes #13411.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-18 23:55:40 +02:00

15 lines
710 B
Diff

--- Makefile.am
+++ Makefile.am
@@ -145,10 +145,10 @@ kcapi_hasher_links = sha1sum sha224sum sha256sum sha384sum sha512sum \
install-exec-hook:
(cd $(DESTDIR)$(bindir) && \
- ($(foreach link, $(kcapi_hasher_links), $(LN) -f kcapi-hasher $(link);)))
+ ($(foreach link, $(kcapi_hasher_links), $(LN) -f kcapi-hasher $(link)-kcapi;)))
if HAVE_OPENSSL
(cd $(DESTDIR)$(bindir) && \
- ($(foreach link, $(kcapi_hasher_links), $(OPENSSL) sha256 -hmac orboDeJITITejsirpADONivirpUkvarP $(link) > $(CHECK_PREFIX)$(link).$(CHECK_SUFFIX);)))
+ ($(foreach link, $(kcapi_hasher_links), $(OPENSSL) sha256 -hmac orboDeJITITejsirpADONivirpUkvarP $(link)-kcapi > $(CHECK_PREFIX)$(link).$(CHECK_SUFFIX);)))
endif
endif