Description: Make upstream build system respect $(DESTDIR) Upstream build system does not make difference between installation prefix (named HOME by upstream), embedded in compiled software, and installation root $(DESTDIR), making staged install, employed by most package managers impossible. . This patch adjust upstream Makefile to respect $(DESTDIR) variable. To configure prefix, use `conf-home' file. Author: Dmitry Bogatov Forwarded: no Last-Update: 2018-12-05 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ Index: ucspi-tcp/Makefile =================================================================== --- ucspi-tcp.orig/Makefile +++ ucspi-tcp/Makefile @@ -38,7 +38,7 @@ compile auto-str.c buffer.h readwrite.h auto_home.c: \ auto-str conf-home - ./auto-str auto_home `head -1 conf-home` > auto_home.c + ./auto-str auto_home $(DESTDIR)/`head -1 conf-home` > auto_home.c auto_home.o: \ compile auto_home.c