mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add php-with-bcmath.
* gnu/packages/php.scm (php-with-bcmath): New variable.
This commit is contained in:
parent
e517161d6b
commit
1a3e7534d0
1 changed files with 10 additions and 0 deletions
|
@ -48,6 +48,7 @@ (define-module (gnu packages php)
|
|||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix utils)
|
||||
#:use-module ((guix licenses) #:prefix license:))
|
||||
|
||||
(define-public php
|
||||
|
@ -348,3 +349,12 @@ (define-public php
|
|||
license:lgpl2.1+ ; ext/bcmath/libbcmath
|
||||
license:bsd-2 ; ext/fileinfo/libmagic
|
||||
license:expat)))) ; ext/date/lib
|
||||
|
||||
(define-public php-with-bcmath
|
||||
(package
|
||||
(inherit php)
|
||||
(name "php-with-bcmath")
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments php)
|
||||
((#:configure-flags flags)
|
||||
`(cons "--enable-bcmath" ,flags))))))
|
||||
|
|
Loading…
Reference in a new issue