opnsense-ports/sysutils/fileprune/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
428 B
Text

--- Makefile.orig 2014-06-27 00:40:28.370101738 +0800
+++ Makefile 2014-06-27 00:40:53.285115312 +0800
@@ -8,8 +8,8 @@ $(NAME): $(NAME).c
$(CC) $(CFLAGS) -o $@ $? -lm
install: $(NAME)
- $(INSTALL) -s $(NAME) $(PREFIX)/bin
- gzip -c $(NAME).1 >$(PREFIX)/man/man1/$(NAME).1.gz
+ $(INSTALL) -s $(NAME) $(DESTDIR)$(PREFIX)/bin
+ gzip -c $(NAME).1 > $(DESTDIR)$(PREFIX)/man/man1/$(NAME).1.gz
clean:
rm -f $(NAME) $(NAME).o