From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/lout/files: lout-3.38-makefile.patch |
Date: | Fri, 04 Sep 2009 09:41:39 |
Message-Id: | E1Mja77-00016h-88@stork.gentoo.org |
1 | jer 09/09/04 14:50:09 |
2 | |
3 | Added: lout-3.38-makefile.patch |
4 | Log: |
5 | Respect CFLAGS (bug #240136), LDFLAGS. |
6 | (Portage version: 2.2_rc40/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-text/lout/files/lout-3.38-makefile.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/lout/files/lout-3.38-makefile.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/lout/files/lout-3.38-makefile.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: lout-3.38-makefile.patch |
15 | =================================================================== |
16 | --- lout-3.38/makefile.orig 2008-10-13 23:35:17.000000000 +0200 |
17 | +++ lout-3.38/makefile 2009-09-04 16:40:00.000000000 +0200 |
18 | @@ -295,11 +295,9 @@ |
19 | ZLIB = |
20 | ZLIBPATH = |
21 | |
22 | -CC = gcc |
23 | - |
24 | RCOPY = cp -r |
25 | |
26 | -COPTS = -ansi -pedantic -Wall -O3 |
27 | +COPTS += -ansi -pedantic -Wall |
28 | |
29 | CFLAGS = -DOS_UNIX=$(OSUNIX) \ |
30 | -DOS_DOS=$(OSDOS) \ |
31 | @@ -333,7 +331,7 @@ |
32 | z49.o z50.o z51.o z52.o |
33 | |
34 | lout: $(OBJS) |
35 | - $(CC) -o lout $(OBJS) $(ZLIB) -lm |
36 | + $(CC) $(COPTS) $(LDFLAGS) -o lout $(OBJS) $(ZLIB) -lm |
37 | chmod a+x lout |
38 | |
39 | $(OBJS): externs.h |
40 | @@ -341,7 +339,7 @@ |
41 | externs.h: |
42 | |
43 | prg2lout: prg2lout.c |
44 | - $(CC) $(COPTS) -o prg2lout prg2lout.c |
45 | + $(CC) $(COPTS) $(LDFLAGS) -o prg2lout prg2lout.c |
46 | chmod a+x prg2lout |
47 | |
48 | all: lout prg2lout |