efraim pushed a commit to branch core-updates
in repository guix.

commit da39ff58987d7ed082233ab9ac3ae8d6d0f50b5d
Author: Efraim Flashner <[email protected]>
Date:   Wed Oct 17 10:54:58 2018 +0300

    gnu: boost-for-mysql: Remove unnecessary phase.
    
    * gnu/packages/boost.scm (boost-for-mysql)[arguments]: Remove custom
    'provide-libboost_python phase. Add removed '/bin/sh' substitution.
---
 gnu/packages/boost.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index d1b359b..897987f 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2018 Arun Isaac <[email protected]>
 ;;; Copyright © 2018 Ricardo Wurmus <[email protected]>
 ;;; Copyright © 2018 Maxim Cournoyer <[email protected]>
+;;; Copyright © 2018 Efraim Flashner <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -27,6 +28,7 @@
 
 (define-module (gnu packages boost)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix utils)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
@@ -134,6 +136,15 @@ across a broad spectrum of applications.")
               (sha256
                (base32
                 "1jj1aai5rdmd72g90a3pd8sw9vi32zad46xv5av8fhnr48ir6ykj"))))
+    (arguments (substitute-keyword-arguments (package-arguments boost)
+      ((#:phases phases)
+       `(modify-phases ,phases
+          ;; This was removed after boost-1.67.
+          (add-before 'configure 'more-bin-sh-patching
+            (lambda _
+              (substitute* "tools/build/doc/bjam.qbk"
+                (("/bin/sh") (which "sh")))))
+          (delete 'provide-libboost_python)))))
     (properties '((hidden? . #t)))))
 
 (define-public boost-sync

Reply via email to