1 |
eras 11/07/06 14:42:36 |
2 |
|
3 |
Added: cyrus-imap-admin-2.4.10-ldflags.patch |
4 |
Log: |
5 |
version bump |
6 |
|
7 |
(Portage version: 2.1.10.4/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-mail/cyrus-imap-admin/files/cyrus-imap-admin-2.4.10-ldflags.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/cyrus-imap-admin/files/cyrus-imap-admin-2.4.10-ldflags.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/cyrus-imap-admin/files/cyrus-imap-admin-2.4.10-ldflags.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: cyrus-imap-admin-2.4.10-ldflags.patch |
16 |
=================================================================== |
17 |
--- perl/Makefile.in 2011-06-21 22:50:39.000000000 +0300 |
18 |
+++ perl/Makefile.in 2011-06-22 12:42:04.000000000 +0300 |
19 |
@@ -74,6 +74,7 @@ |
20 |
cyrus_prefix = @cyrus_prefix@ |
21 |
|
22 |
CC = @CC@ |
23 |
+LDFLAGS = @LDFLAGS@ |
24 |
PLMAKE = imap/Makefile |
25 |
|
26 |
all:: |
27 |
@@ -83,6 +84,7 @@ |
28 |
if [ -f Makefile.PL -a ! -f Makefile ]; then \ |
29 |
LIB_RT="$(LIB_RT)" \ |
30 |
ZLIB="$(ZLIB)" \ |
31 |
+ LDDLFLAGS="-shared $(LDFLAGS)" \ |
32 |
BDB_LIB="$(BDB_LIB)" BDB_INC="$(BDB_INC)" \ |
33 |
OPENSSL_LIB="$(OPENSSL_LIB)" OPENSSL_INC="$(OPENSSL_INC)" \ |
34 |
SASL_LIB="$(SASL_LIB)" SASL_INC="$(SASL_INC)" CC="$(CC)" \ |
35 |
--- perl/imap/Makefile.PL 2011-06-21 22:50:39.000000000 +0300 |
36 |
+++ perl/imap/Makefile.PL 2011-06-22 12:42:22.000000000 +0300 |
37 |
@@ -53,6 +53,8 @@ |
38 |
my $LIB_RT = $ENV{LIB_RT}; |
39 |
my $ZLIB = $ENV{ZLIB}; |
40 |
|
41 |
+my $LDDLFLAGS = $ENV{LDDLFLAGS}; |
42 |
+ |
43 |
# See lib/ExtUtils/MakeMaker.pm for details of how to influence |
44 |
# the contents of the Makefile that is written. |
45 |
$libs = "-lcyrus"; |
46 |
@@ -75,6 +77,7 @@ |
47 |
'OBJECT' => 'IMAP.o', |
48 |
'MYEXTLIB' => '../../lib/libcyrus.a ../../lib/libcyrus_min.a', |
49 |
'LIBS' => ["$BDB_LIB $SASL_LIB $OPENSSL_LIB $LIB_RT $ZLIB -lssl -lcrypto"], |
50 |
+ 'LDDLFLAGS' => "$LDDLFLAGS", |
51 |
'DEFINE' => '-DPERL_POLLUTE', # e.g., '-DHAVE_SOMETHING' |
52 |
'INC' => "-I../../lib -I../.. -I../../com_err/et $SASL_INC $OPENSSL_INC", |
53 |
'EXE_FILES' => [cyradm], |
54 |
--- perl/sieve/managesieve/Makefile.PL 2011-06-21 22:50:39.000000000 +0300 |
55 |
+++ perl/sieve/managesieve/Makefile.PL 2011-06-22 13:13:04.000000000 +0300 |
56 |
@@ -53,6 +53,8 @@ |
57 |
my $LIB_RT = $ENV{LIB_RT}; |
58 |
my $ZLIB = $ENV{ZLIB}; |
59 |
|
60 |
+my $LDDLFLAGS = $ENV{LDFLAGS}; |
61 |
+ |
62 |
$libs = "-lcyrus"; |
63 |
|
64 |
# See lib/ExtUtils/MakeMaker.pm for details of how to influence |
65 |
@@ -63,6 +65,7 @@ |
66 |
'VERSION_FROM' => 'managesieve.pm', # finds $VERSION |
67 |
'MYEXTLIB' => '../lib/isieve.o ../lib/lex.o ../lib/mystring.o ../lib/request.o ../../../lib/libcyrus.a ../../../lib/libcyrus_min.a', |
68 |
'LIBS' => ["$BDB_LIB $SASL_LIB $OPENSSL_LIB $LIB_RT $ZLIB -lssl -lcrypto"], |
69 |
+ 'LDDLFLAGS' => "-shared $LDDLFLAGS", |
70 |
'DEFINE' => '-DPERL_POLLUTE', # e.g., '-DHAVE_SOMETHING' |
71 |
'INC' => "-I../lib/ -I../../../lib/ $SASL_INC $OPENSSL_INC", |
72 |
); |