mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
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:
parent
52b0a352c3
commit
702a87f2d1
1 changed files with 18 additions and 4 deletions
|
@ -1458,7 +1458,7 @@ (define-public perl-dbd-pg
|
|||
(define-public perl-dbd-mysql
|
||||
(package
|
||||
(name "perl-dbd-mysql")
|
||||
(version "4.046")
|
||||
(version "4.047")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -1466,10 +1466,24 @@ (define-public perl-dbd-mysql
|
|||
"DBD-mysql-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1xziv9w87cl3fbl1mqkdrx28mdqly3gs6gs1ynbmpl2rr4p6arb1"))))
|
||||
"0idizgr0hr7sj92fbdlb3gv6cva15jkpaq28wrdw4j4p7awx2mls"))))
|
||||
(build-system perl-build-system)
|
||||
;; Tests require running MySQL server
|
||||
(arguments `(#:tests? #f))
|
||||
(arguments
|
||||
`(#: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
|
||||
`(("perl-dbi" ,perl-dbi)
|
||||
("mysql" ,mysql)))
|
||||
|
|
Loading…
Reference in a new issue