From 1bbc15dd15b232f833b6cc2066bd9ca2b7fe6b66 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Wed, 8 Apr 2020 15:15:02 -0500 Subject: [PATCH] unix/Makefile: Fix regression using install on non-GNU systems. This was fixed previously in 31fc81d3b8bb227109777eed02d0021e564fb523 but regressed in 4af79e76943312bf71be395a71fa80ab39e7c2c2. Fixes #5885. --- ports/unix/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)