diff --git a/ports/unix/Makefile b/ports/unix/Makefile index ac67631867..060b3a9842 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)