diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2018-09-11 18:31:55 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2018-09-11 21:03:07 +0200 |
commit | 702a87f2d14809ef241cd2dbb947c70ec59b9f08 (patch) | |
tree | 3b11db9aac4f255ae5dcd234b2c26b52e43269e9 /gnu/packages | |
parent | 52b0a352c376eaed4ae7cf109f66538d6ac0a859 (diff) | |
download | gnu-guix-702a87f2d14809ef241cd2dbb947c70ec59b9f08.tar gnu-guix-702a87f2d14809ef241cd2dbb947c70ec59b9f08.tar.gz |
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/databases.scm | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index ecc14c259a..9db892a0b7 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1458,7 +1458,7 @@ columns, primary keys, unique constraints and relationships.") (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 @@ columns, primary keys, unique constraints and relationships.") "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))) |