aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/fbreader/files/hack-makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/fbreader/files/hack-makefile.patch')
-rw-r--r--recipes/fbreader/files/hack-makefile.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/fbreader/files/hack-makefile.patch b/recipes/fbreader/files/hack-makefile.patch
new file mode 100644
index 0000000000..3859363607
--- /dev/null
+++ b/recipes/fbreader/files/hack-makefile.patch
@@ -0,0 +1,24 @@
+--- fbreader-0.7.1b/makefiles/arch/desktop.mk.orig 2005-12-06 14:29:15.000000000 -0800
++++ fbreader-0.7.1b/makefiles/arch/desktop.mk 2006-02-15 01:16:49.000000000 -0800
+@@ -1,16 +1,16 @@
+ include $(ROOTDIR)/makefiles/arch/dummy.mk
+
+-INSTALLDIR=/usr/local
++INSTALLDIR=/usr
+
+-CC = gcc
++CC = $(CCLD) $(TARGET_CFLAGS)
+ AR = ar rsu
+-LD = g++
++LD = $(CXX)
+
+ DEPGEN = $(CC) -MM
+ CFLAGS = -pipe $(DUMMY_SECTIONS) -fno-exceptions -fno-rtti -Wall -Wno-ctor-dtor-privacy -W -DINSTALLDIR=\"$(INSTALLDIR)\"
+
+-MOC = moc-qt3
+-QTINCLUDE = -I /usr/include/qt3
++#MOC = moc-qt3
++#QTINCLUDE = -I /usr/include/qt3
+
+ GTKINCLUDE = $(shell pkg-config --cflags gtk+-2.0)
+