Lines 1-42
Link Here
|
1 |
--- make/libtool.mk.orig 2015-11-10 17:48:52 UTC |
|
|
2 |
+++ make/libtool.mk |
3 |
@@ -1,7 +1,7 @@ |
4 |
# --- Required interface definitions --- |
5 |
|
6 |
-# LIBTOOL needs bash |
7 |
-SHELL=/bin/bash |
8 |
+# LIBTOOL needs sh |
9 |
+SHELL=/bin/sh |
10 |
|
11 |
OBJ=o |
12 |
LOBJ=lo |
13 |
@@ -94,20 +94,20 @@ endef |
14 |
define makelib |
15 |
$(LIBTOOL) --mode=link \ |
16 |
$(CXX) $(CXXFLAGS) $(LD_VERSION_FLAGS) \ |
17 |
- -o $(2) $(1) $(4) $(3) \ |
18 |
+ -o $(2) $(1) $(3) $(4) \ |
19 |
-rpath $(libdir) -version-info $(5):$(6):$(7) |
20 |
endef |
21 |
|
22 |
# 1 2 3 4 |
23 |
# Usage: $(call makebin,objs,binary,ldflags,libs) |
24 |
define makebin |
25 |
- $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(1) -o $(2) $(4) $(3) |
26 |
+ $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(1) -o $(2) $(3) $(4) |
27 |
endef |
28 |
|
29 |
# Install target |
30 |
|
31 |
install: all |
32 |
- ./mkinstalldirs $(DESTDIR)$(libdir)/pkgconfig |
33 |
+ ./mkinstalldirs $(DESTDIR)$(prefix)/libdata/pkgconfig |
34 |
./mkinstalldirs $(DESTDIR)$(bindir) |
35 |
./mkinstalldirs $(DESTDIR)$(includedir)/qpdf |
36 |
./mkinstalldirs $(DESTDIR)$(docdir) |
37 |
@@ -129,4 +129,4 @@ install: all |
38 |
cp doc/qpdf-manual.html $(DESTDIR)$(docdir) |
39 |
cp doc/qpdf-manual.pdf $(DESTDIR)$(docdir) |
40 |
cp doc/*.1 $(DESTDIR)$(mandir)/man1 |
41 |
- cp libqpdf.pc $(DESTDIR)$(libdir)/pkgconfig |
42 |
+ cp libqpdf.pc $(DESTDIR)$(prefix)/libdata/pkgconfig |