File 0001-yaml-mode-destdir.patch of Package emacs-yaml-mode
diff -rub yaml-mode-0.0.16/Makefile yaml-mode-0.0.16-patched/Makefile --- yaml-mode-0.0.16/Makefile 2023-09-20 00:02:27.000000000 +0200 +++ yaml-mode-0.0.16-patched/Makefile 2025-01-04 05:46:46.959633176 +0100 @@ -1,7 +1,8 @@ VERSION=0.0.15 EMACS = emacs PREFIX = /usr/local -INSTALLLIBDIR = $(PREFIX)/share/emacs/site-lisp +DESTDIR := /usr +INSTALLLIBDIR = $(DESTDIR)$(PREFIX)/share/emacs/site-lisp FLAGS = -batch -L $(INSTALLLIBDIR) -q -f batch-byte-compile SRC = yaml-mode.el INSTALL = /usr/bin/install -c -m 444