diff options
author | 2007-12-09 08:37:47 +0000 | |
---|---|---|
committer | 2007-12-09 08:37:47 +0000 | |
commit | b46098ec57d691538e7c390f101eaa50fb59cb43 (patch) | |
tree | 3ae19f8124782ae605cad56f3378a450d1829718 /dev-lang/lazarus/files | |
parent | Fix a typo. (diff) | |
download | historical-b46098ec57d691538e7c390f101eaa50fb59cb43.tar.gz historical-b46098ec57d691538e7c390f101eaa50fb59cb43.tar.bz2 historical-b46098ec57d691538e7c390f101eaa50fb59cb43.zip |
Restore part of Makefile so that non-x86 can build lazarus
Package-Manager: portage-2.1.4_rc9
Diffstat (limited to 'dev-lang/lazarus/files')
-rw-r--r-- | dev-lang/lazarus/files/lazarus-0.9.24-cputarget.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-lang/lazarus/files/lazarus-0.9.24-cputarget.patch b/dev-lang/lazarus/files/lazarus-0.9.24-cputarget.patch new file mode 100644 index 000000000000..81507408c1a0 --- /dev/null +++ b/dev-lang/lazarus/files/lazarus-0.9.24-cputarget.patch @@ -0,0 +1,14 @@ + + Bug #201666: CPU_TARGET is not yet set when looking for fpc, so don't use it + +--- lazarus/Makefile ++++ lazarus/Makefile +@@ -107,7 +107,7 @@ + FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH)))) + ifneq ($(FPCPROG),) + FPCPROG:=$(firstword $(FPCPROG)) +-FPC:=$(shell $(FPCPROG) -P$(CPU_TARGET) -PB) ++FPC:=$(shell $(FPCPROG) -PB) + ifneq ($(findstring Error,$(FPC)),) + override FPC=$(firstword $(strip $(wildcard $(addsuffix /ppc386$(SRCEXEEXT),$(SEARCHPATH))))) + endif |