diff options
Diffstat (limited to 'app-text/mupdf/files/mupdf-1.14-Makefile.patch')
-rw-r--r-- | app-text/mupdf/files/mupdf-1.14-Makefile.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/app-text/mupdf/files/mupdf-1.14-Makefile.patch b/app-text/mupdf/files/mupdf-1.14-Makefile.patch deleted file mode 100644 index a8c4ef770dce..000000000000 --- a/app-text/mupdf/files/mupdf-1.14-Makefile.patch +++ /dev/null @@ -1,46 +0,0 @@ -1. debug build (not sure why...) -2. build shared library -3. add optional static lib target -4. Don't install COPYING -diff --git a/Makefile b/Makefile -index 37fc48e6..4303e9fa 100644 ---- a/Makefile -+++ b/Makefile -@@ -3,7 +3,7 @@ - -include user.make - - ifndef build -- build := release -+ build := debug - endif - - ifndef OUT -@@ -190,13 +190,15 @@ generate: source/pdf/js/util.js.h - - # --- Library --- - --MUPDF_LIB = $(OUT)/libmupdf.a --THIRD_LIB = $(OUT)/libmupdf-third.a -+MUPDF_LIB = libmupdf.so.$(GENTOO_PV) -+MUPDF_STATIC = $(OUT)/libmupdf.a -+THIRD_LIB = - THREAD_LIB = $(OUT)/libmupdf-threads.a - PKCS7_LIB = $(OUT)/libmupdf-pkcs7.a - --$(MUPDF_LIB) : $(MUPDF_OBJ) --$(THIRD_LIB) : $(THIRD_OBJ) -+$(MUPDF_LIB): $(MUPDF_OBJ) $(THIRD_OBJ) -+ $(QUIET_LINK) $(CC) $(LDFLAGS) --shared -Wl,-soname -Wl,$(MUPDF_LIB) -Wl,--no-undefined -o $@ $^ $(THIRD_LIBS) $(LIBS) -+$(MUPDF_STATIC): $(MUPDF_OBJ) $(THIRD_OBJ) - $(THREAD_LIB) : $(THREAD_OBJ) - $(PKCS7_LIB) : $(PKCS7_OBJ) - -@@ -355,7 +357,7 @@ install: libs apps - - install -d $(DESTDIR)$(docdir) - install -d $(DESTDIR)$(docdir)/examples -- install README COPYING CHANGES $(DESTDIR)$(docdir) -+ install README CHANGES $(DESTDIR)$(docdir) - install docs/*.html docs/*.css docs/*.png $(DESTDIR)$(docdir) - install docs/examples/* $(DESTDIR)$(docdir)/examples - |