File: dont-override-PREFIX.patch

package info (click to toggle)
sparse 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,936 kB
  • ctags: 3,948
  • sloc: ansic: 27,901; perl: 248; sh: 233; makefile: 166
file content (11 lines) | stat: -rw-r--r-- 172 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@
 endif
 
 DESTDIR=
-PREFIX=$(HOME)
+PREFIX?=$(HOME)
 BINDIR=$(PREFIX)/bin
 LIBDIR=$(PREFIX)/lib
 MANDIR=$(PREFIX)/share/man