summaryrefslogtreecommitdiff
path: root/frotz/patches/003-openwrt-will-take-care-of-install.patch
blob: e9da4ac8ac9caca2f2b28f1c8a2d2b678278e890 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
openwrt will take care of install.

From: Xiangfu Liu <xiangfu@sharism.cc>

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index aae3eaa..3515b33 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ OPTS = -O2
 #-malign-jumps=2
 
 # Define where you want Frotz installed.  Usually this is /usr/local
-PREFIX = /usr/local
+PREFIX = $(DESTDIR)/usr/local
 
 MAN_PREFIX = $(PREFIX)
 #MAN_PREFIX = /usr/local/share