opnsense-ports/security/bugs/files/patch-Makefile.bsd
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

20 lines
784 B
Text

--- Makefile.bsd.orig 2014-06-10 23:16:23.285874501 +0800
+++ Makefile.bsd 2014-06-10 23:16:59.938863115 +0800
@@ -77,13 +77,13 @@ lib: testfpost libchoice
install: instchoice all
@echo "Creating directory $(INSTALL_PATH) ..."
- @mkdir $(INSTALL_PATH)
+ @mkdir $(DESTDIR)$(INSTALL_PATH)
@echo "Copying binaries in $(INSTALL_PATH) ..."
- @cp -f ./bin/* $(INSTALL_PATH)/
+ @cp -f ./bin/* $(DESTDIR)$(INSTALL_PATH)/
@echo "Copying bugscrypt.a in $(INSTALL_PATH) ..."
- @cp -f ./lib/bugscrypt.a $(INSTALL_PATH)/
+ @cp -f ./lib/bugscrypt.a $(DESTDIR)$(INSTALL_PATH)/
@echo "Copying docs in $(INSTALL_PATH) ..."
- @cp -rf ./doc/* $(INSTALL_PATH)/
+ @cp -rf ./doc/* $(DESTDIR)$(INSTALL_PATH)/
@echo
@echo ------------------------------------------------------------
@echo