summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-08-03 22:41:03 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-03 22:43:59 +0100
commit4e50f73bb773fd6e0e2ae9a7b199c2d0f0d6eaea (patch)
tree95404cc14e8e9383a130ca766b4edf37c68fccec /app-text/fbpdf/files
parentapp-text/fbpdf: handle user's CXX (diff)
downloadgentoo-4e50f73bb773fd6e0e2ae9a7b199c2d0f0d6eaea.tar.gz
gentoo-4e50f73bb773fd6e0e2ae9a7b199c2d0f0d6eaea.tar.bz2
gentoo-4e50f73bb773fd6e0e2ae9a7b199c2d0f0d6eaea.zip
app-text/fbpdf: depend on only direct pkg-config files
Reported-by: John Helmert III (ajak) Bug: https://bugs.gentoo.org/735588 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-text/fbpdf/files')
-rw-r--r--app-text/fbpdf/files/fbpdf-0_p20190202-drop-unused.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/app-text/fbpdf/files/fbpdf-0_p20190202-drop-unused.patch b/app-text/fbpdf/files/fbpdf-0_p20190202-drop-unused.patch
new file mode 100644
index 000000000000..3e60b9149433
--- /dev/null
+++ b/app-text/fbpdf/files/fbpdf-0_p20190202-drop-unused.patch
@@ -0,0 +1,16 @@
+--- a/Makefile
++++ b/Makefile
+@@ -12,11 +12,11 @@ clean:
+
+ # pdf support using mupdf
+ fbpdf: fbpdf.o mupdf.o draw.o
+- $(CC) -o $@ $^ $(LDFLAGS) $(shell $(PKG_CONFIG) --libs mupdf) -lm
++ $(CC) -o $@ $^ $(LDFLAGS) $(shell $(PKG_CONFIG) --libs mupdf)
+
+ # djvu support
+ fbdjvu: fbpdf.o djvulibre.o draw.o
+- $(CXX) -o $@ $^ $(LDFLAGS) $(shell $(PKG_CONFIG) --libs ddjvuapi) -ljpeg -lm -lpthread
++ $(CXX) -o $@ $^ $(LDFLAGS) $(shell $(PKG_CONFIG) --libs ddjvuapi)
+
+ # pdf support using poppler
+ poppler.o: poppler.c