From dffcf3d8fc0bda026d7310fe232f44f44a9c7c88 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sun, 11 Feb 2024 22:40:04 +0100 Subject: [PATCH] Fix compatibility with FreeBSD coreutils 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