1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
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 <KAction@debian.org>
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
|