summaryrefslogtreecommitdiff
path: root/misc/fbreader/patches/patch-makefiles_qsubdir.mk
diff options
context:
space:
mode:
authorryoon <ryoon>2013-06-27 14:21:09 +0000
committerryoon <ryoon>2013-06-27 14:21:09 +0000
commit23e89700f82989942740e882c2820774f3314e4f (patch)
treee98388c1de7becae971719acab9f0a687d6df55d /misc/fbreader/patches/patch-makefiles_qsubdir.mk
parent6da07a9fa7008937f6642a5120db5cc93bab3ffc (diff)
downloadpkgsrc-23e89700f82989942740e882c2820774f3314e4f.tar.gz
Update to 0.99.4
* Add missing dependencies. * Libtoolized. Changelog: ===== 0.99.4 (November 30, 2012) ===== * Bulgarian hyphenation patterns, converted by Kaloyan Raev * Network catalogs: fixed Cyryllic names rendering * Showing suggestions in search field * Fixed bug with duplicates series items in LitRes catalog * Fixed different network bugs in Network Library
Diffstat (limited to 'misc/fbreader/patches/patch-makefiles_qsubdir.mk')
-rw-r--r--misc/fbreader/patches/patch-makefiles_qsubdir.mk34
1 files changed, 34 insertions, 0 deletions
diff --git a/misc/fbreader/patches/patch-makefiles_qsubdir.mk b/misc/fbreader/patches/patch-makefiles_qsubdir.mk
new file mode 100644
index 00000000000..3795c8a2a73
--- /dev/null
+++ b/misc/fbreader/patches/patch-makefiles_qsubdir.mk
@@ -0,0 +1,34 @@
+$NetBSD: patch-makefiles_qsubdir.mk,v 1.1 2013/06/27 14:21:09 ryoon Exp $
+
+* Libtoolized
+
+--- makefiles/qsubdir.mk.orig 2012-11-30 12:41:25.000000000 +0000
++++ makefiles/qsubdir.mk
+@@ -5,14 +5,14 @@ INCLUDE = $(QTINCLUDE) $(ZINCLUDE) $(EXT
+
+ HEADERS = $(wildcard *.h)
+ SOURCES = $(wildcard *.cpp)
+-OBJMOC = $(patsubst %.cpp, %.o, $(SRCMOC))
+-OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
++OBJMOC = $(patsubst %.cpp, %.lo, $(SRCMOC))
++OBJECTS = $(patsubst %.cpp, %.lo, $(SOURCES))
+
+-.SUFFIXES: .cpp .moc.cpp .moc.o .o .h
++.SUFFIXES: .cpp .moc.cpp .moc.lo .lo .h
+
+-.cpp.o:
++.cpp.lo:
+ @echo -n 'Compiling $@ ...'
+- @$(CC) -MMD -c $(CFLAGS) $(INCLUDE) $<
++ @${LIBTOOL} --mode=compile --tag=CXX $(CC) -MMD -c $(CFLAGS) $(INCLUDE) $<
+ @echo ' OK'
+
+ .h.moc.cpp:
+@@ -23,6 +23,6 @@ OBJECTS = $(patsubst %.cpp, %.o, $(SOURC
+ all: $(OBJECTS) $(OBJMOC)
+
+ clean:
+- @$(RM) *.o *.moc.cpp *.d
++ @$(RM) *.lo *.moc.cpp *.d
+
+ -include *.d