summaryrefslogtreecommitdiff
path: root/net-libs/wvstreams/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/wvstreams/files')
-rw-r--r--net-libs/wvstreams/files/wvstreams-99999-openssl-ldflags.patch10
-rw-r--r--net-libs/wvstreams/files/wvstreams-99999-soname.patch11
2 files changed, 21 insertions, 0 deletions
diff --git a/net-libs/wvstreams/files/wvstreams-99999-openssl-ldflags.patch b/net-libs/wvstreams/files/wvstreams-99999-openssl-ldflags.patch
new file mode 100644
index 000000000000..0bf2bc4a7b02
--- /dev/null
+++ b/net-libs/wvstreams/files/wvstreams-99999-openssl-ldflags.patch
@@ -0,0 +1,10 @@
+--- a/config.ac
++++ b/config.ac
+@@ -444,7 +444,6 @@
+ if test "$with_openssl" != "no"; then
+ if test "$with_openssl" != ""; then
+ WV_APPEND(CPPFLAGS, [-I$with_openssl/include])
+- WV_APPEND(LDFLAGS, [-L$with_openssl])
+ fi
+ AC_CHECK_HEADERS(openssl/ssl.h,, [with_openssl=no],
+ [#define OPENSSL_NO_KRB5])
diff --git a/net-libs/wvstreams/files/wvstreams-99999-soname.patch b/net-libs/wvstreams/files/wvstreams-99999-soname.patch
new file mode 100644
index 000000000000..9dd0d8ab8260
--- /dev/null
+++ b/net-libs/wvstreams/files/wvstreams-99999-soname.patch
@@ -0,0 +1,11 @@
+--- a/default.so.do
++++ b/default.so.do
+@@ -47,7 +47,7 @@
+ redo-ifchange "$OUT/$2.a"
+ ln -s $2.a "$sofile"
+ else
+- $CXX -o "$sofile" -shared \
++ $CXX -o "$sofile" -shared -Wl,-soname,$sofile \
+ $zdefs \
+ $LDFLAGS \
+ $obj $libdep $libs