opnsense-ports/sysutils/clone/files/patch-Makefile
Franco Fichtner 433112a756 */*: sync with upstream
Taken from: FreeBSD
2015-05-12 08:39:53 +02:00

10 lines
317 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)/man/man1/$(TOOL).1