guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/07: gnu: Add php-with-bcmath.


From: guix-commits
Subject: 05/07: gnu: Add php-with-bcmath.
Date: Mon, 17 Dec 2018 14:17:56 -0500 (EST)

wigust pushed a commit to branch master
in repository guix.

commit 1a3e7534d0a02fad1d19173985cf47e1aaa3b956
Author: Oleg Pykhalov <address@hidden>
Date:   Thu Nov 29 20:39:53 2018 +0300

    gnu: Add php-with-bcmath.
    
    * gnu/packages/php.scm (php-with-bcmath): New variable.
---
 gnu/packages/php.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm
index dfb9f2d..5ffe7c8 100644
--- a/gnu/packages/php.scm
+++ b/gnu/packages/php.scm
@@ -48,6 +48,7 @@
   #: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 @@ systems, web content management systems and web 
frameworks." )
               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))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]