opnsense-ports/sysutils/clone/files/patch-Makefile
Franco Fichtner 0bafe2b7fa */*: sync with upstream
Taken from: FreeBSD
2024-02-26 10:57:15 +01:00

10 lines
323 B
Text

--- Makefile.orig 2015-05-01 19:21:45 UTC
+++ Makefile
@@ -60,5 +60,5 @@ clean:
update: clean all
install: $(TOOL)
- strip -x -o /usr/local/bin/$(TOOL) $(TOOL)
- cp $(TOOL).1 /usr/local/man/man1/$(TOOL).1
+ strip -x -o $(DESTDIR)$(PREFIX)/bin/$(TOOL) $(TOOL)
+ cp $(TOOL).1 $(DESTDIR)$(PREFIX)/share/man/man1/$(TOOL).1