summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-11 04:14:11 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-11 04:14:11 +0000
commit0d63a4ddd9d9f2703d706ae92483475450c2d12d (patch)
tree71491591c0cb13888c960e3c9933420dff1804f9 /sys-devel/flex/files
parent+dev-libs/libtomcrypt:libtommath +dev-libs/libtomcrypt:tomsfastmath (diff)
downloadgentoo-2-0d63a4ddd9d9f2703d706ae92483475450c2d12d.tar.gz
gentoo-2-0d63a4ddd9d9f2703d706ae92483475450c2d12d.tar.bz2
gentoo-2-0d63a4ddd9d9f2703d706ae92483475450c2d12d.zip
Fix cross-compile support.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-devel/flex/files')
-rw-r--r--sys-devel/flex/files/flex-2.5.31-include.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-devel/flex/files/flex-2.5.31-include.patch b/sys-devel/flex/files/flex-2.5.31-include.patch
new file mode 100644
index 000000000000..8769d0db928f
--- /dev/null
+++ b/sys-devel/flex/files/flex-2.5.31-include.patch
@@ -0,0 +1,13 @@
+Remove stupid -I path because it screws up cross-compiling bad.
+
+--- Makefile.in
++++ Makefile.in
+@@ -290,7 +290,7 @@
+
+
+ localedir = $(datadir)/locale
+-AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I@includedir@ -I$(top_srcdir)/intl
++AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl
+
+ # Run GNU indent on sources. Don't run this unless all the sources compile cleanly.
+ #