From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/pstotext/files: 1.9-flags.patch pstotext-1.8g-dsafer.patch |
Date: | Sun, 03 Oct 2010 14:15:19 |
Message-Id: | 20101003141517.10E2720051@flycatcher.gentoo.org |
1 | jlec 10/10/03 14:15:17 |
2 | |
3 | Added: 1.9-flags.patch |
4 | Removed: pstotext-1.8g-dsafer.patch |
5 | Log: |
6 | QA, removed old, respecting LDFLAGS/CFLAGS/CC, 335595 |
7 | |
8 | (Portage version: 2.2_rc88/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.1 app-text/pstotext/files/1.9-flags.patch |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pstotext/files/1.9-flags.patch?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/pstotext/files/1.9-flags.patch?rev=1.1&content-type=text/plain |
15 | |
16 | Index: 1.9-flags.patch |
17 | =================================================================== |
18 | diff --git a/Makefile b/Makefile |
19 | index 551e3b8..1d55ebe 100644 |
20 | --- a/Makefile |
21 | +++ b/Makefile |
22 | @@ -9,7 +9,7 @@ |
23 | # commenting out the includes of ptotdll.h in ptotdll.c and main.c. |
24 | # PMcJ 6 Sep 96 |
25 | |
26 | -CC=gcc |
27 | +CC ?= gcc |
28 | #CC=cc -std |
29 | |
30 | BUNDLE = ocr.h rot270.h rot90.h |
31 | @@ -17,18 +17,18 @@ BUNDLE = ocr.h rot270.h rot90.h |
32 | all: pstotext |
33 | |
34 | main.o: main.c ptotdll.h bundle.h ocr.h rot270.h rot90.h |
35 | - $(CC) -c $*.c |
36 | + $(CC) $(CFLAGS) -c $*.c |
37 | |
38 | ptotdll.o: ptotdll.c ptotdll.h |
39 | - $(CC) -c $*.c |
40 | + $(CC) $(CFLAGS) -c $*.c |
41 | |
42 | pstotext: bundle.o main.o ptotdll.o |
43 | - $(CC) -o pstotext main.o bundle.o ptotdll.o -lm |
44 | + $(CC) $(CFLAGS) $(LDFLAGS) -o pstotext main.o bundle.o ptotdll.o -lm |
45 | |
46 | .SUFFIXES: .ps |
47 | |
48 | .c.o: |
49 | - $(CC) -c $*.c |
50 | + $(CC) $(CFLAGS) -c $*.c |
51 | |
52 | # "Bundle" an Ascii file. |
53 | .ps.h: |