gnu: boost: Upgrade to 1.61.0.

* gnu/packages/boost.scm (boost): Upgrade to 1.61.0
* gnu/packages/databases.scm (mysql)[arguments]: Compute boost minor
version for substitution.
This commit is contained in:
Eric Bavier 2016-09-22 22:33:19 -05:00
parent cdf26f40b0
commit 6941965526
No known key found for this signature in database
GPG Key ID: 1EBBD204781F962C
2 changed files with 6 additions and 4 deletions

View File

@ -34,7 +34,7 @@
(define-public boost
(package
(name "boost")
(version "1.60.0")
(version "1.61.0")
(source (origin
(method url-fetch)
(uri (string-append
@ -43,7 +43,7 @@
".tar.bz2"))
(sha256
(base32
"0fzx6dwqbrkd4bcd8pjv0fpapwmrxxwr8yx9g67lihlsk3zzysk8"))))
"0h5nk7pgxf7xsvvshj9qfpsfp9wx6gq9r78n3nx736pxq83bsix5"))))
(build-system gnu-build-system)
(inputs `(("zlib" ,zlib)))
(native-inputs

View File

@ -222,7 +222,7 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.")
"0mlrxcvkn6bf869hjw9fb6m24ak26ndffnd91b4mknmz8cqkb1ch"))))
(build-system cmake-build-system)
(arguments
'(#:configure-flags
`(#:configure-flags
'("-DBUILD_CONFIG=mysql_release"
"-DWITH_SSL=system"
"-DWITH_ZLIB=system"
@ -249,7 +249,9 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.")
(lambda _
;; Mysql wants boost-1.59.0 specifically
(substitute* "cmake/boost.cmake"
(("59") "60"))))
(("59")
,(match (string-split (package-version boost) #\.)
((_ minor . _) minor))))))
(add-after
'install 'remove-extra-binaries
(lambda* (#:key outputs #:allow-other-keys)