parent
							
								
									51c591baa5
								
							
						
					
					
						commit
						c84940ef81
					
				
					 1 changed files with 18 additions and 18 deletions
				
			
		|  | @ -68,26 +68,26 @@ | |||
|                "doc"))                           ; 94 MiB of HTML docs | ||||
|     (arguments | ||||
|      '(#:tests? #f                            ; no check target available | ||||
|        #:phases | ||||
|        (alist-replace | ||||
|         'configure | ||||
|         (lambda* (#:key outputs #:allow-other-keys) | ||||
|           (let ((out (assoc-ref outputs "out")) | ||||
|                 (doc (assoc-ref outputs "doc"))) | ||||
|             ;; '--docdir' is not honored, so we need to patch. | ||||
|             (substitute* "dist/Makefile.in" | ||||
|               (("docdir[[:blank:]]*=.*") | ||||
|                (string-append "docdir = " doc "/share/doc/bdb"))) | ||||
|                 #:phases | ||||
|                 (alist-replace | ||||
|                  'configure | ||||
|                  (lambda* (#:key outputs #:allow-other-keys) | ||||
|                    (let ((out (assoc-ref outputs "out")) | ||||
|                          (doc (assoc-ref outputs "doc"))) | ||||
|                      ;; '--docdir' is not honored, so we need to patch. | ||||
|                      (substitute* "dist/Makefile.in" | ||||
|                        (("docdir[[:blank:]]*=.*") | ||||
|                         (string-append "docdir = " doc "/share/doc/bdb"))) | ||||
| 
 | ||||
|             (zero? | ||||
|              (system* "./dist/configure" | ||||
|                       (string-append "--prefix=" out) | ||||
|                       (string-append "CONFIG_SHELL=" (which "bash")) | ||||
|                       (string-append "SHELL=" (which "bash")) | ||||
|                      (zero? | ||||
|                       (system* "./dist/configure" | ||||
|                                (string-append "--prefix=" out) | ||||
|                                (string-append "CONFIG_SHELL=" (which "bash")) | ||||
|                                (string-append "SHELL=" (which "bash")) | ||||
| 
 | ||||
|                       ;; The compatibility mode is needed by some packages, | ||||
|                       ;; notably iproute2. | ||||
|                       "--enable-compat185")))) | ||||
|                                ;; The compatibility mode is needed by some packages, | ||||
|                                ;; notably iproute2. | ||||
|                                "--enable-compat185")))) | ||||
|                  %standard-phases))) | ||||
|     (synopsis "Berkeley database") | ||||
|     (description | ||||
|  |  | |||
		Reference in a new issue