1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-27 11:32:21 +02:00

gnu: sendmail: Install executables to $prefix/sbin and $prefix/bin directories.

Currently "sendmail" installs executables to $PREFIX/usr/sbin and
$PREFIX/usr/bin directories. This patch changes them to $PREFIX/sbin and
$PREFIX/bin respectively. Also this patch fixes broken symlinks in
$PREFIX/bin and updates package definitions that use old sendmail paths.

* gnu/packages/mail.scm (sendmail): Set new paths.
 [arguments]<#:phases>{replace-/usr}: Remove /usr prefix.
 [arguments]<#:phases>{post-install}: Fix broken symlinks
 [arguments]<#:phases>{configure}: Set paths without /usr prefix.
* gnu/packages/mail.scm (claws-mail): Use new sendmail paths.
* gnu/packages/version-control.scm (python-git-multimail): Use new
  sendmail paths.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Ivan Gankevich
2021-07-23 21:15:39 +03:00
committed by Ludovic Courtès
parent 80fc776a61
commit e6d0264b82
2 changed files with 25 additions and 5 deletions
+1 -1
View File
@@ -1036,7 +1036,7 @@ a built-in cache to decrease server I/O pressure.")
"'"))
(("/usr/sbin/sendmail")
(string-append (assoc-ref inputs "sendmail")
"/usr/sbin/sendmail")))
"/sbin/sendmail")))
#t)))))
(inputs
`(("git" ,git)