From c322864e28eec7b60ba9624f32ba074a0b638668 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Fri, 22 Sep 2017 10:37:01 +0000 Subject: [PATCH] crypto++: fix .so symlinks on musl Closes #7773 --- srcpkgs/crypto++/patches/musl-soname-links.patch | 10 ++++++++++ srcpkgs/crypto++/template | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/crypto++/patches/musl-soname-links.patch diff --git a/srcpkgs/crypto++/patches/musl-soname-links.patch b/srcpkgs/crypto++/patches/musl-soname-links.patch new file mode 100644 index 00000000000..34f3b4fbfe6 --- /dev/null +++ b/srcpkgs/crypto++/patches/musl-soname-links.patch @@ -0,0 +1,10 @@ +--- GNUmakefile.orig 2017-09-22 10:27:03.000000000 +0000 ++++ GNUmakefile 2017-09-22 10:34:42.897537258 +0000 +@@ -581,6 +581,7 @@ + -$(CHMOD) 0755 $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX) + ifeq ($(HAS_SOLIB_VERSION),1) + -$(LN) -sf libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so ++ -$(LN) -sf libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX) + $(LDCONF) $(DESTDIR)$(LIBDIR) + endif + endif diff --git a/srcpkgs/crypto++/template b/srcpkgs/crypto++/template index 481ae0cf92d..13099995efb 100644 --- a/srcpkgs/crypto++/template +++ b/srcpkgs/crypto++/template @@ -1,7 +1,7 @@ # Template build file for 'crypto++'. pkgname=crypto++ version=565 -revision=1 +revision=2 create_wrksrc=yes build_style=gnu-makefile make_build_target="libcryptopp.so libcryptopp.a"