Files
extra/foremost/fix-build.patch
2025-06-22 20:39:04 -05:00

16 lines
486 B
Diff

--- a/Makefile 2023-03-02 01:46:53.723746269 +0100
+++ b/Makefile 2023-03-02 01:47:48.805037917 +0100
@@ -24,9 +24,9 @@
RAW_FLAGS += -DVERSION=\"$(VERSION)\"
# Where we get installed
-BIN = /usr/local/bin
-MAN = /usr/share/man/man8
-CONF= /usr/local/etc
+BIN = $(DESTDIR)/usr/bin
+MAN = $(DESTDIR)/usr/share/man/man8
+CONF= $(DESTDIR)/etc
# Setup for compiling and cross-compiling for Windows
# The CR_ prefix refers to cross compiling from OSX to Windows
CR_CC = $(CR_BASE)/gcc