summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/unix/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/unix/Makefile b/ports/unix/Makefile
index ac6763186..060b3a984 100644
--- a/ports/unix/Makefile
+++ b/ports/unix/Makefile
@@ -266,7 +266,8 @@ PREFIX = /usr/local
BINDIR = $(DESTDIR)$(PREFIX)/bin
install: $(PROG)
- install -D $(PROG) $(BINDIR)/$(PROG)
+ install -d $(BINDIR)
+ install $(PROG) $(BINDIR)/$(PROG)
uninstall:
-rm $(BINDIR)/$(PROG)