summary refs log tree commit diff
path: root/gnu/packages/tcsh.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-10-09 00:09:04 +0200
committerLudovic Courtès <ludo@gnu.org>2013-10-09 00:11:34 +0200
commit01eafd38fbeb49d8167d99569eb624ab404bbeb2 (patch)
treecfbde1f3b011ee586bf4ce45b7f83d10fc28e2f4 /gnu/packages/tcsh.scm
parentac10e0e17e366d354ad8b3f91e03c1bdeddc7632 (diff)
downloadguix-01eafd38fbeb49d8167d99569eb624ab404bbeb2.tar.gz
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
  gnu/packages/autotools.scm,
  gnu/packages/avahi.scm,
  gnu/packages/cdrom.scm,
  gnu/packages/cmake.scm,
  gnu/packages/cpio.scm,
  gnu/packages/cross-base.scm,
  gnu/packages/emacs.scm,
  gnu/packages/flex.scm,
  gnu/packages/fontutils.scm,
  gnu/packages/glib.scm,
  gnu/packages/grub.scm,
  gnu/packages/guile.scm,
  gnu/packages/idutils.scm,
  gnu/packages/libevent.scm,
  gnu/packages/linux.scm,
  gnu/packages/mail.scm,
  gnu/packages/make-bootstrap.scm,
  gnu/packages/mp3.scm,
  gnu/packages/oggvorbis.scm,
  gnu/packages/pdf.scm,
  gnu/packages/plotutils.scm,
  gnu/packages/qemu.scm,
  gnu/packages/recutils.scm,
  gnu/packages/rush.scm,
  gnu/packages/scheme.scm,
  gnu/packages/system.scm,
  gnu/packages/tcsh.scm,
  gnu/packages/valgrind.scm,
  gnu/packages/vpn.scm,
  gnu/packages/w3m: Use the 'patches' field of <origin> instead of
  adding a patch as input plus using #:patches.
Diffstat (limited to 'gnu/packages/tcsh.scm')
-rw-r--r--gnu/packages/tcsh.scm12
1 files changed, 5 insertions, 7 deletions
diff --git a/gnu/packages/tcsh.scm b/gnu/packages/tcsh.scm
index 2e195bd489..e1531874c0 100644
--- a/gnu/packages/tcsh.scm
+++ b/gnu/packages/tcsh.scm
@@ -35,14 +35,14 @@
              (uri (string-append "ftp://ftp.astron.com/pub/tcsh/tcsh-"
                                  version ".tar.gz"))
              (sha256
-              (base32 "1a4z9kwgx1iqqzvv64si34m60gj34p7lp6rrcrb59s7ka5wa476q"))))
+              (base32 "1a4z9kwgx1iqqzvv64si34m60gj34p7lp6rrcrb59s7ka5wa476q"))
+             (patches (list (search-patch "tcsh-fix-autotest.patch")))
+             (patch-flags '("-p0"))))
     (build-system gnu-build-system)
     (inputs
      `(("autoconf" ,autoconf)
        ("coreutils" ,coreutils)
-       ("ncurses" ,ncurses)
-       ("patch/skip-tests"
-        ,(search-patch "tcsh-fix-autotest.patch"))))
+       ("ncurses" ,ncurses)))
     (arguments
      `(#:phases
        (alist-replace
@@ -69,9 +69,7 @@
                  (bin (string-append out "/bin")))
            (with-directory-excursion bin
              (symlink "tcsh" "csh"))))
-         %standard-phases))
-        #:patches (list (assoc-ref %build-inputs "patch/skip-tests"))
-        #:patch-flags '("-p0")))
+         %standard-phases))))
     (home-page "http://www.tcsh.org/")
     (synopsis "A Unix shell based on csh")
     (description