void-packages/srcpkgs/libtecla/patches/fix-destdir.patch

18 lines
330 B
Diff

--- a/Makefile.in
+++ b/Makefile.in
@@ -15,10 +15,10 @@
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?