diff options
Diffstat (limited to 'app-text/zathura/files/zathura-0.3.7-tests.patch')
-rw-r--r-- | app-text/zathura/files/zathura-0.3.7-tests.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app-text/zathura/files/zathura-0.3.7-tests.patch b/app-text/zathura/files/zathura-0.3.7-tests.patch new file mode 100644 index 000000000000..77321445c6a6 --- /dev/null +++ b/app-text/zathura/files/zathura-0.3.7-tests.patch @@ -0,0 +1,24 @@ +--- zathura-0.3.7/tests/Makefile ++++ zathura-0.3.7/tests/Makefile +@@ -7,7 +7,11 @@ + include config.mk + + PROJECT = tests +-SOURCE = tests.c $(wildcard test_*.c) ++ifneq (${WITH_SQLITE},0) ++ SOURCE = tests.c $(wildcard test_*.c) ++else ++ SOURCE = $(filter-out database-sqlite.c,tests.c $(wildcard test_*.c)) ++endif + OBJECTS = $(addprefix ${BUILDDIR_RELEASE}/,${SOURCE:.c=.o}) + OBJECTS_DEBUG = $(addprefix ${BUILDDIR_DEBUG}/,${SOURCE:.c=.o}) + OBJECTS_GCOV = $(addprefix ${BUILDDIR_GCOV}/,${SOURCE:.c=.o}) +@@ -23,8 +27,6 @@ + INCS += $(SQLITE_INC) + LIBS += $(SQLITE_LIB) + CPPFLAGS += -DWITH_SQLITE +-else +-SOURCE = $(filter-out database-sqlite.c,$(OSOURCE)) + endif + + ifneq ($(WITH_MAGIC),0) |