~ruther/guix-local

bf2cc1e5d14df7d8ff0c9456798d48fba65de317 — Mark H Weaver 12 years ago 2c1ceea
gnu: libtool: skip a test that fails on MIPS N32.

* gnu/packages/patches/libtool-skip-tests-for-mips.patch: New file.
* gnu/packages/autotools.scm (libtool): Add patch.
* gnu-system.am (dist_patch_DATA): Add patch.
M gnu-system.am => gnu-system.am +1 -0
@@ 238,6 238,7 @@ dist_patch_DATA =						\
  gnu/packages/patches/hop-bigloo-4.0b.patch			\
  gnu/packages/patches/libevent-dns-tests.patch			\
  gnu/packages/patches/libtool-skip-tests.patch			\
  gnu/packages/patches/libtool-skip-tests-for-mips.patch	\
  gnu/packages/patches/m4-gets-undeclared.patch			\
  gnu/packages/patches/m4-readlink-EINVAL.patch			\
  gnu/packages/patches/make-impure-dirs.patch			\

M gnu/packages/autotools.scm => gnu/packages/autotools.scm +3 -1
@@ 217,7 217,9 @@ simplifying the entire process for the developer.")
             (sha256
              (base32
               "0649qfpzkswgcj9vqkkr9rn4nlcx80faxpyqscy2k1x9c94f93dk"))
             (patches (list (search-patch "libtool-skip-tests.patch")))))
             (patches
              (list (search-patch "libtool-skip-tests.patch")
                    (search-patch "libtool-skip-tests-for-mips.patch")))))
    (build-system gnu-build-system)
    (native-inputs `(("m4" ,m4)
                     ("perl" ,perl)))

A gnu/packages/patches/libtool-skip-tests-for-mips.patch => gnu/packages/patches/libtool-skip-tests-for-mips.patch +12 -0
@@ 0,0 1,12 @@
TEMPORARY HACK: Disable a test that fails on MIPS.

--- libtool/Makefile.in.orig	2011-10-17 06:18:55.000000000 -0400
+++ libtool/Makefile.in	2013-10-12 20:41:50.669067382 -0400
@@ -890,7 +890,6 @@
 	tests/demo-pic-make.test \
 	tests/demo-pic-exec.test \
 	tests/demo-nopic.test \
-	tests/demo-nopic-make.test \
 	tests/demo-nopic-exec.test \
 	tests/cdemo-shared.test \
 	tests/cdemo-shared-make.test \