From: | "Victor Ostorga (vostorga)" <vostorga@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-editors/nedit/files: nedit-5.5_p20090914-ldflags.patch |
Date: | Sun, 25 Oct 2009 17:36:10 |
Message-Id: | E1N270i-0004rs-B6@stork.gentoo.org |
1 | vostorga 09/10/25 17:36:08 |
2 | |
3 | Added: nedit-5.5_p20090914-ldflags.patch |
4 | Log: |
5 | Respecting LDFLAGS, patch thanks to Justin Lecher <jlec@×××××××××.net> bug 290337 |
6 | (Portage version: 2.1.6.13/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-editors/nedit/files/nedit-5.5_p20090914-ldflags.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nedit/files/nedit-5.5_p20090914-ldflags.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nedit/files/nedit-5.5_p20090914-ldflags.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: nedit-5.5_p20090914-ldflags.patch |
15 | =================================================================== |
16 | --- source/Makefile.common 2004-03-21 15:25:56.000000000 +0100 |
17 | +++ source/Makefile.common.new 2009-10-24 10:47:03.667835157 +0200 |
18 | @@ -21,12 +21,12 @@ |
19 | # we only want natural rebuilds to regenerate the link date. |
20 | nedit: $(OBJS) ../util/libNUtil.a $(XMLLIB) $(XLTLIB) |
21 | $(CC) $(CFLAGS) -c linkdate.c |
22 | - $(CC) $(CFLAGS) $(OBJS) linkdate.o $(XMLLIB) \ |
23 | + $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) linkdate.o $(XMLLIB) \ |
24 | $(XLTLIB) ../util/libNUtil.a $(LIBS) -o $@ |
25 | |
26 | # Note LIBS isn't quite right here; it links unnecessarily against Motif |
27 | nc: nc.o server_common.o ../util/libNUtil.a |
28 | - $(CC) $(CFLAGS) nc.o server_common.o ../util/libNUtil.a $(LIBS) -o $@ |
29 | + $(CC) $(CFLAGS) $(LDFLAGS) nc.o server_common.o ../util/libNUtil.a $(LIBS) -o $@ |
30 | |
31 | help.o: help.c |
32 | $(CC) $(CFLAGS) $(BIGGER_STRINGS) -c help.c -o $@ |