diff options
Diffstat (limited to 'x11/xob/files/patch-Makefile')
-rw-r--r-- | x11/xob/files/patch-Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11/xob/files/patch-Makefile b/x11/xob/files/patch-Makefile new file mode 100644 index 000000000000..d96be539ad9d --- /dev/null +++ b/x11/xob/files/patch-Makefile @@ -0,0 +1,21 @@ +--- Makefile.orig 2020-07-23 22:56:39 UTC ++++ Makefile +@@ -27,12 +27,12 @@ $(PROGRAM): $(OBJECTS) + $(CC) $(CFLAGS) -DSYSCONFDIR='"$(sysconfdir)"' -c -o $@ $< + + install: $(PROGRAM) $(MANPAGE) $(SYSCONF) +- mkdir --parents "$(DESTDIR)$(bindir)" +- $(INSTALL_PROGRAM) "$(PROGRAM)" -t "$(DESTDIR)$(bindir)" +- mkdir --parents "$(DESTDIR)$(man1dir)" +- $(INSTALL_DATA) "$(MANPAGE)" -t "$(DESTDIR)$(man1dir)" +- mkdir --parents "$(DESTDIR)$(sysconfdir)/$(PROGRAM)" +- $(INSTALL_DATA) "$(SYSCONF)" -t "$(DESTDIR)$(sysconfdir)/$(PROGRAM)" ++ mkdir -p "$(DESTDIR)$(bindir)" ++ $(BSD_INSTALL_PROGRAM) "$(PROGRAM)" "$(DESTDIR)$(bindir)" ++ mkdir -p "$(DESTDIR)$(man1dir)" ++ $(BSD_INSTALL_DATA) "$(MANPAGE)" "$(DESTDIR)$(man1dir)" ++ mkdir -p "$(DESTDIR)$(sysconfdir)/$(PROGRAM)" ++ $(BSD_INSTALL_DATA) "$(SYSCONF)" "$(DESTDIR)$(sysconfdir)/$(PROGRAM)" + + uninstall: + rm -f "$(DESTDIR)$(bindir)/$(PROGRAM)" |