I needed to patch this to package wlopm for chimera linux, which uses
FreeBSD's coreutils. Apparently -D is not portable, it means something
different for FreeBSD install.
---
Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 5d2ac12..7957e98 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,10 @@ $(OBJ): $(GEN)
$(SCANNER) client-header < $< > $@
install: wlopm
- install -D wlopm $(DESTDIR)$(BINDIR)/wlopm
- install -m 644 -D wlopm.1 $(DESTDIR)$(MANDIR)/man1/wlopm.1
+ install -d $(DESTDIR)$(BINDIR)
+ install wlopm $(DESTDIR)$(BINDIR)
+ install -d $(DESTDIR)$(MANDIR)/man1
+ install -m 644 wlopm.1 $(DESTDIR)$(MANDIR)/man1
uninstall:
$(RM) $(DESTDIR)$(BINDIR)/wlopm
base-commit: 2e8d305b9e8d7f7d322d8c4ed7159d6abdb2ee59
--
2.43.1