mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: scdoc: Set PREFIX instead of patching Makefile.
* gnu/packages/man.scm (scdoc)[arguments]: Set PREFIX instead of patching Makefile with output path. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
parent
b2b8a39c41
commit
84836379cd
1 changed files with 3 additions and 7 deletions
|
@ -251,15 +251,11 @@ (define-public scdoc
|
||||||
"00zc3rzj97gscby31djlqyczvqpyhrl66i44czwzmmn7rc5j03m1"))))
|
"00zc3rzj97gscby31djlqyczvqpyhrl66i44czwzmmn7rc5j03m1"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags '("CC=gcc")
|
`(#:make-flags
|
||||||
|
(list "CC=gcc" (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure))))
|
||||||
(add-before 'install 'hardcode-paths
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(substitute* "Makefile"
|
|
||||||
(("/usr/local") (assoc-ref outputs "out")))
|
|
||||||
#t)))))
|
|
||||||
(home-page "https://git.sr.ht/~sircmpwn/scdoc")
|
(home-page "https://git.sr.ht/~sircmpwn/scdoc")
|
||||||
(synopsis "Simple man page generator")
|
(synopsis "Simple man page generator")
|
||||||
(description "scdoc is a simple man page generator written for POSIX systems
|
(description "scdoc is a simple man page generator written for POSIX systems
|
||||||
|
|
Loading…
Reference in a new issue