File: fix-prefix.diff

package info (click to toggle)
rust-coreutils 0.0.30-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,388 kB
  • sloc: sh: 1,088; python: 407; javascript: 72; makefile: 51
file content (22 lines) | stat: -rw-r--r-- 663 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: coreutils/GNUmakefile
===================================================================
--- coreutils.orig/GNUmakefile
+++ coreutils/GNUmakefile
@@ -28,7 +28,7 @@ CARGO  ?= cargo
 CARGOFLAGS ?=
 
 # Install directories
-PREFIX ?= /usr/local
+PREFIX ?= /usr
 DESTDIR ?=
 BINDIR ?= $(PREFIX)/bin
 DATAROOTDIR ?= $(PREFIX)/share
@@ -36,7 +36,7 @@ DATAROOTDIR ?= $(PREFIX)/share
 INSTALLDIR_BIN=$(DESTDIR)$(BINDIR)
 
 #prefix to apply to coreutils binary and all tool binaries
-PROG_PREFIX ?=
+PROG_PREFIX ?= rust-
 
 # This won't support any directory with spaces in its name, but you can just
 # make a symlink without spaces that points to the directory.