Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (opfer)" <opfer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/erlang/files: erlang-12.2.2-as-needed.patch
Date: Tue, 29 Apr 2008 00:06:14
Message-Id: E1JqdMD-0002rq-IY@stork.gentoo.org
1 opfer 08/04/29 00:06:05
2
3 Added: erlang-12.2.2-as-needed.patch
4 Log:
5 make building with --as-needed possible, patch provided by pva in bug 203157
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 dev-lang/erlang/files/erlang-12.2.2-as-needed.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/erlang/files/erlang-12.2.2-as-needed.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/erlang/files/erlang-12.2.2-as-needed.patch?rev=1.1&content-type=text/plain
13
14 Index: erlang-12.2.2-as-needed.patch
15 ===================================================================
16 --- erts/configure.in.orig 2008-04-24 23:16:09.000000000 +0400
17 +++ erts/configure.in 2008-04-24 23:17:05.000000000 +0400
18 @@ -2874,8 +2874,10 @@
19 else
20 saveCFLAGS="$CFLAGS"
21 saveLDFLAGS="$LDFLAGS"
22 + saveLIBS="$LIBS"
23 CFLAGS="$CFLAGS $SSL_INCLUDE"
24 - LDFLAGS="$LDFLAGS -L$SSL_LIBDIR -lcrypto"
25 + LDFLAGS="$LDFLAGS -L$SSL_LIBDIR"
26 + LIBS="-lcrypto"
27 AC_TRY_LINK([
28 #include <stdio.h>
29 #include <openssl/hmac.h>],
30 @@ -2887,6 +2889,7 @@
31 [ssl_linkable=no])
32 CFLAGS="$saveCFLAGS"
33 LDFLAGS="$saveLDFLAGS"
34 + LIBS="$saveLIBS"
35 fi
36 fi
37 if test "x$ssl_found" = "xyes" -a "x$ssl_linkable" = "xyes" ; then
38
39
40
41 --
42 gentoo-commits@l.g.o mailing list