mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: opensmtpd: Use G-expressions.
* gnu/packages/mail.scm (opensmtpd)[arguments]<#:phases>: Use G-expressions. Reviewed-by: 宋文武 <iyzsong@envs.net> Change-Id: I97dce2865e2b67f0f7cd4f10b0b6cc10a459ceb7
This commit is contained in:
@@ -3338,7 +3338,7 @@ from the Cyrus IMAP project.")
|
||||
(string-append "ac_cv_path_ZCAT="
|
||||
#$(this-package-input "gzip") "/bin/zcat"))
|
||||
#:phases
|
||||
`(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; Fix some incorrectly hard-coded external tool file names.
|
||||
(add-after 'unpack 'patch-FHS-file-names
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
@@ -3357,8 +3357,7 @@ from the Cyrus IMAP project.")
|
||||
;; Avoid install smtpd.conf to /etc.
|
||||
(add-after 'unpack 'fix-smtpd.conf-install-path
|
||||
(lambda _
|
||||
(let ((etc (string-append (assoc-ref %outputs "out")
|
||||
"/etc")))
|
||||
(let ((etc (string-append #$output "/etc")))
|
||||
(mkdir-p etc)
|
||||
(substitute* "mk/smtpd/Makefile.am"
|
||||
(("\\$\\(DESTDIR\\)\\$\\(sysconfdir\\)/smtpd\\.conf")
|
||||
|
||||
Reference in New Issue
Block a user