[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/05: gnu: cups-minimal: Use 'modify-phases'.
From: |
Ludovic Courtès |
Subject: |
05/05: gnu: cups-minimal: Use 'modify-phases'. |
Date: |
Mon, 9 May 2016 13:56:17 +0000 (UTC) |
civodul pushed a commit to branch core-updates
in repository guix.
commit 6ea06a0e3a161be52a8f0b006f29901ccf1c079a
Author: Ludovic Courtès <address@hidden>
Date: Mon May 9 15:55:44 2016 +0200
gnu: cups-minimal: Use 'modify-phases'.
* gnu/packages/cups.scm (cups-minimal)[arguments]: Use 'modify-phases'.
---
gnu/packages/cups.scm | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 8437170..c055315 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -135,20 +135,17 @@ filters for the PDF-centric printing workflow introduced
by OpenPrinting.")
;; cups-filters package.
#:tests? #f
#:phases
- (alist-cons-before
- 'configure
- 'patch-makedefs
- (lambda _
- (substitute* "Makedefs.in"
- (("address@hidden@") "INITDIR = @prefix@/@INITDIR@")
- (("/bin/sh") (which "sh"))))
- (alist-cons-before
- 'build
- 'patch-tests
- (lambda _
- (substitute* "test/ippserver.c"
- (("# else /\\* HAVE_AVAHI \\*/") "#elif defined(HAVE_AVAHI)")))
- %standard-phases))))
+ (modify-phases %standard-phases
+ (add-before 'configure 'patch-makedefs
+ (lambda _
+ (substitute* "Makedefs.in"
+ (("address@hidden@") "INITDIR = @prefix@/@INITDIR@")
+ (("/bin/sh") (which "sh")))))
+ (add-before 'build 'patch-tests
+ (lambda _
+ (substitute* "test/ippserver.c"
+ (("# else /\\* HAVE_AVAHI \\*/")
+ "#elif defined(HAVE_AVAHI)")))))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs