void-packages/srcpkgs/libkcapi/patches/makefile.patch
maxice8 a92afb5120 New package: libkcapi-1.0.3.
Closes: #11513 [via git-merge-pr]
2018-03-17 22:28:49 -07:00

18 lines
742 B
Diff

Source: Arch Linux
Upstream: No, distro specific
Reason: avoids conflicts with coreutils binaries like md5sum
--- Makefile.am 2018-01-12 22:41:55.000000000 +0100
+++ Makefile.am 2018-01-25 15:34:35.649902674 +0100
@@ -131,8 +131,8 @@
install-exec-hook:
(cd $(DESTDIR)$(bindir) && \
- ($(foreach link, $(kcapi_hasher_links), ln -f kcapi-hasher $(link);)) && \
- ($(foreach link, $(kcapi_hasher_links), openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP $(link) > .$(link).hmac;)))
+ ($(foreach link, $(kcapi_hasher_links), ln -f kcapi-hasher $(link)-kcapi;)) && \
+ ($(foreach link, $(kcapi_hasher_links), openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP $(link)-kcapi > .$(link)-kcapi.hmac;)))
endif
if ENABLE_KCAPI_RNGAPP