Package: libtecla / 1.6.3-1

add-destdir.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Add DESTDIR support for installation directories.
--- a/Makefile.in
+++ b/Makefile.in
@@ -15,10 +15,10 @@ srcdir = @srcdir@
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
-LIBDIR=@libdir@
-INCDIR=@includedir@
-MANDIR=@mandir@
-BINDIR=@bindir@
+LIBDIR=$(DESTDIR)@libdir@
+INCDIR=$(DESTDIR)@includedir@
+MANDIR=$(DESTDIR)@mandir@
+BINDIR=$(DESTDIR)@bindir@
 
 # Which C compiler do you want to use?