opnsense-ports/math/entropy/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
389 B
Text

--- Makefile.orig 2014-06-18 18:11:21.760498422 +0800
+++ Makefile 2014-06-18 18:11:35.534517376 +0800
@@ -12,8 +12,8 @@ entropy: $(OBJS)
$(CC) -o $(PROG) $(OBJS) $(LIBS)
install:
- cp entropy.1.gz $(PREFIX)/man/man1/
- cp entropy $(PREFIX)/bin
+ cp entropy.1.gz $(DESTDIR)$(PREFIX)/man/man1/
+ cp entropy $(DESTDIR)$(PREFIX)/bin
deinstall:
rm -f $(PREFIX)/man/man1/entropy.1.gz