gnu: perl-dbd-mysql: Update to 4.047.

* gnu/packages/databases.scm (perl-dbd-mysql): Update to 4.047.
[arguments]: Add 'skip-library-detection' phase.
This commit is contained in:
Tobias Geerinckx-Rice 2018-09-11 18:31:55 +02:00
parent 52b0a352c3
commit 702a87f2d1
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 18 additions and 4 deletions

View File

@ -1458,7 +1458,7 @@ columns, primary keys, unique constraints and relationships.")
(define-public perl-dbd-mysql (define-public perl-dbd-mysql
(package (package
(name "perl-dbd-mysql") (name "perl-dbd-mysql")
(version "4.046") (version "4.047")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -1466,10 +1466,24 @@ columns, primary keys, unique constraints and relationships.")
"DBD-mysql-" version ".tar.gz")) "DBD-mysql-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1xziv9w87cl3fbl1mqkdrx28mdqly3gs6gs1ynbmpl2rr4p6arb1")))) "0idizgr0hr7sj92fbdlb3gv6cva15jkpaq28wrdw4j4p7awx2mls"))))
(build-system perl-build-system) (build-system perl-build-system)
;; Tests require running MySQL server (arguments
(arguments `(#:tests? #f)) `(#:phases
(modify-phases %standard-phases
(add-before 'configure 'skip-library-detection
;; Avoid depencies on perl-devel-checklib, openssl, and zlib. They
;; are really only needed for the test suite; their absence does not
;; affect the build or the end result.
(lambda _
(substitute* "Makefile.PL"
(("use Devel::CheckLib;" match)
(string-append "# " match))
(("assert_lib")
"print"))
#t)))
;; Tests require running MySQL server.
#:tests? #f))
(propagated-inputs (propagated-inputs
`(("perl-dbi" ,perl-dbi) `(("perl-dbi" ,perl-dbi)
("mysql" ,mysql))) ("mysql" ,mysql)))