Gentoo Archives: gentoo-commits

From: "Eray Aslan (eras)" <eras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/uw-imap/files: uw-imap-ldflags.patch
Date: Sat, 07 May 2011 11:20:49
Message-Id: 20110507112037.6C9D520054@flycatcher.gentoo.org
1 eras 11/05/07 11:20:37
2
3 Added: uw-imap-ldflags.patch
4 Log:
5 QA fixes bug 332721. Do not block bincimap bug 290353
6
7 (Portage version: 2.1.9.47/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 net-mail/uw-imap/files/uw-imap-ldflags.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/uw-imap/files/uw-imap-ldflags.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/uw-imap/files/uw-imap-ldflags.patch?rev=1.1&content-type=text/plain
14
15 Index: uw-imap-ldflags.patch
16 ===================================================================
17 diff --git a/Makefile b/Makefile
18 index e6e4987..8acfe23 100644
19 --- a/Makefile
20 +++ b/Makefile
21 @@ -257,7 +257,7 @@ EXTRACFLAGS=
22
23 # Extra linker flags (additional/alternative libraries, etc.)
24
25 -EXTRALDFLAGS=
26 +EXTRALDFLAGS=${LDFLAGS}
27
28
29 # Special make flags (e.g. to override make environment variables)
30 diff --git a/src/mlock/Makefile b/src/mlock/Makefile
31 index d425da8..9c3020b 100644
32 --- a/src/mlock/Makefile
33 +++ b/src/mlock/Makefile
34 @@ -36,7 +36,7 @@ CFLAGS = -O2 -pipe -march=core2
35 all: mlock
36
37 mlock: mlock.o
38 - $(CC) $(CFLAGS) -o mlock mlock.o
39 + $(CC) $(CFLAGS) ${LDFLAGS} -o mlock mlock.o
40
41 install: mlock
42 chgrp mail mlock
43 diff --git a/Makefile b/Makefile
44 index 8acfe23..70f889d 100644
45 --- a/Makefile
46 +++ b/Makefile
47 @@ -698,7 +698,7 @@ rebuild:
48 @echo Rebuilding c-client for `$(CAT) OSTYPE`...
49 @$(TOUCH) SPECIALS
50 $(CD) c-client;$(MAKE) all CC=`$(CAT) CCTYPE` \
51 - CFLAGS="`$(CAT) CFLAGS`" `$(CAT) SPECIALS`
52 + CFLAGS="`$(CAT) CFLAGS`" LDFLAGS=${LDFLAGS} `$(CAT) SPECIALS`
53
54 rebuildclean:
55 $(SH) -c '$(RM) rebuild || true'
56 diff --git a/src/osdep/unix/Makefile b/src/osdep/unix/Makefile
57 index ef1d059..a53318c 100644
58 --- a/src/osdep/unix/Makefile
59 +++ b/src/osdep/unix/Makefile
60 @@ -969,7 +969,7 @@ onceenv:
61 -DLOCKPGM3=\"$(LOCKPGM3)\" > OSCFLAGS
62 echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS
63 echo "$(ARRC) $(ARCHIVE) $(BINARIES);$(RANLIB) $(ARCHIVE)" > ARCHIVE
64 - echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` -shared \
65 + echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` `$(CAT) LDFLAGS` -shared \
66 -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" \
67 >> ARCHIVE
68 echo $(OS) > OSTYPE