From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/ifstatus/files: ifstatus-1.1.0-asneeded.patch |
Date: | Tue, 02 Jun 2009 11:51:03 |
Message-Id: | E1MBSWB-0004mH-T1@stork.gentoo.org |
1 | flameeyes 09/06/02 11:50:59 |
2 | |
3 | Added: ifstatus-1.1.0-asneeded.patch |
4 | Log: |
5 | Add patch to fix --as-needed by Kevin Pyle, close bug #247928. Remove -j1 from emake (builds fine at -j12), die on failed install. |
6 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-analyzer/ifstatus/files/ifstatus-1.1.0-asneeded.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ifstatus/files/ifstatus-1.1.0-asneeded.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ifstatus/files/ifstatus-1.1.0-asneeded.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: ifstatus-1.1.0-asneeded.patch |
15 | =================================================================== |
16 | diff -ru a/Makefile b/Makefile |
17 | --- a/Makefile 2009-01-23 22:23:43.000000000 -0600 |
18 | +++ b/Makefile 2009-01-23 22:27:06.000000000 -0600 |
19 | @@ -1,7 +1,7 @@ |
20 | # Makefile for IFStatus |
21 | # Gabriel Montenegro |
22 | |
23 | -LDFLAGS = -lncurses |
24 | +LDLIBS = -lncurses |
25 | |
26 | BIN = ifstatus |
27 | OBJ = BorderDecorator.o\ |
28 | @@ -28,7 +28,7 @@ |
29 | all : ifstatus printdone |
30 | |
31 | ifstatus : $(OBJ) |
32 | - $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ |
33 | + $(LINK.cc) $^ $(LDLIBS) -o $@ |
34 | |
35 | printdone: |
36 | @if [ -e "./${BIN}" ]; then echo "Compiled.."; else echo "Error compiling!"; fi |