File: fix_install.patch

package info (click to toggle)
wtdbg2 2.5-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 119,728 kB
  • sloc: ansic: 27,655; perl: 1,212; makefile: 125; sh: 83
file content (16 lines) | stat: -rw-r--r-- 315 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Andreas Tille <tille@debian.org>
Last-Update: 2020-04-02
Description: Enable installation to different target location

--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,9 @@ VERSION=2.5
 RELEASE=20190621
 
 CC  := gcc
+ifeq ($(BIN),)
 BIN := /usr/local/bin
+endif
 
 ifeq (0, ${MAKELEVEL})
 TIMESTAMP=$(shell date)