From: | "Harald van Dijk (truedfx)" <truedfx@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/lazarus/files: lazarus-0.9.24-cputarget.patch |
Date: | Sun, 09 Dec 2007 08:37:52 |
Message-Id: | E1J1HfX-00067C-Np@stork.gentoo.org |
1 | truedfx 07/12/09 08:37:47 |
2 | |
3 | Added: lazarus-0.9.24-cputarget.patch |
4 | Log: |
5 | Restore part of Makefile so that non-x86 can build lazarus |
6 | (Portage version: 2.1.4_rc9) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-lang/lazarus/files/lazarus-0.9.24-cputarget.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lazarus/files/lazarus-0.9.24-cputarget.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lazarus/files/lazarus-0.9.24-cputarget.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: lazarus-0.9.24-cputarget.patch |
15 | =================================================================== |
16 | |
17 | Bug #201666: CPU_TARGET is not yet set when looking for fpc, so don't use it |
18 | |
19 | --- lazarus/Makefile |
20 | +++ lazarus/Makefile |
21 | @@ -107,7 +107,7 @@ |
22 | FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH)))) |
23 | ifneq ($(FPCPROG),) |
24 | FPCPROG:=$(firstword $(FPCPROG)) |
25 | -FPC:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB) |
26 | +FPC:=$(shell $(FPCPROG) -PB) |
27 | ifneq ($(findstring Error,$(FPC)),) |
28 | override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH))))) |
29 | endif |
30 | |
31 | |
32 | |
33 | -- |
34 | gentoo-commits@g.o mailing list |