aboutsummaryrefslogtreecommitdiff
path: root/recipes/newt/files/support-DESTDIR.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/newt/files/support-DESTDIR.patch')
-rw-r--r--recipes/newt/files/support-DESTDIR.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/newt/files/support-DESTDIR.patch b/recipes/newt/files/support-DESTDIR.patch
new file mode 100644
index 0000000..cfc8904
--- /dev/null
+++ b/recipes/newt/files/support-DESTDIR.patch
@@ -0,0 +1,12 @@
+diff --git a/Makefile.in b/Makefile.in
+index f64ffe3..fb13749 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -36,6 +36,7 @@ datadir = @datadir@
+ mandir = @mandir@
+ man1dir = $(mandir)/man1
+ pkgconfigdir = $(libdir)/pkgconfig
++instroot ?= $(DESTDIR)
+
+ #--------------------------------------
+