gnu: mongodb: Use scons-build-system.
* gnu/packages/databases.scm (mongodb): Switch to scons-build-system.
This commit is contained in:
parent
bc27eb3b56
commit
6e385b76e6
@ -98,6 +98,7 @@
|
|||||||
#:use-module (guix build-system ruby)
|
#:use-module (guix build-system ruby)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
#:use-module (guix build-system r)
|
#:use-module (guix build-system r)
|
||||||
|
#:use-module (guix build-system scons)
|
||||||
#:use-module ((guix build utils) #:hide (which))
|
#:use-module ((guix build utils) #:hide (which))
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (srfi srfi-1)
|
#:use-module (srfi srfi-1)
|
||||||
@ -398,7 +399,7 @@ applications.")
|
|||||||
(patches
|
(patches
|
||||||
(list
|
(list
|
||||||
(search-patch "mongodb-support-unknown-linux-distributions.patch")))))
|
(search-patch "mongodb-support-unknown-linux-distributions.patch")))))
|
||||||
(build-system gnu-build-system)
|
(build-system scons-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("openssl" ,openssl)
|
`(("openssl" ,openssl)
|
||||||
("pcre" ,pcre)
|
("pcre" ,pcre)
|
||||||
@ -410,12 +411,11 @@ applications.")
|
|||||||
("zlib" ,zlib)
|
("zlib" ,zlib)
|
||||||
("snappy" ,snappy)))
|
("snappy" ,snappy)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("scons" ,scons)
|
`(("valgrind" ,valgrind)
|
||||||
("python" ,python-2)
|
|
||||||
("valgrind" ,valgrind)
|
|
||||||
("perl" ,perl)))
|
("perl" ,perl)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:scons ,scons-python2
|
||||||
|
#:phases
|
||||||
(let ((common-options
|
(let ((common-options
|
||||||
`(;; "--use-system-tcmalloc" TODO: Missing gperftools
|
`(;; "--use-system-tcmalloc" TODO: Missing gperftools
|
||||||
"--use-system-pcre"
|
"--use-system-pcre"
|
||||||
@ -437,7 +437,6 @@ applications.")
|
|||||||
,(format #f "--jobs=~a" (parallel-job-count))
|
,(format #f "--jobs=~a" (parallel-job-count))
|
||||||
"--ssl")))
|
"--ssl")))
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure) ; There is no configure phase
|
|
||||||
(add-after 'unpack 'scons-propagate-environment
|
(add-after 'unpack 'scons-propagate-environment
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Modify the SConstruct file to arrange for
|
;; Modify the SConstruct file to arrange for
|
||||||
|
Loading…
Reference in New Issue
Block a user