nixpkgs/pkgs/development/libraries/gnutls/tmpdir.patch

31 lines
1.2 KiB
Diff
Raw Normal View History

We disable these tests because OpenCDK's `cdk_stream_tmp_from_mem ()'
stupidly uses `tempfile ()', which does not honor $TMPDIR, leading to
build failures in chroots. See also:
http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2693
--- gnutls-2.4.0/tests/openpgp/Makefile.in 2008-06-18 17:02:37.000000000 +0200
+++ gnutls-2.4.0/tests/openpgp/Makefile.in 2008-06-27 20:07:00.000000000 +0200
@@ -51,7 +51,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-@ENABLE_OPENPGP_TRUE@TESTS = keyring$(EXEEXT)
+@ENABLE_OPENPGP_TRUE@TESTS =
@ENABLE_OPENPGP_TRUE@check_PROGRAMS = keyring$(EXEEXT)
subdir = tests/openpgp
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
--- gnutls-2.4.0/guile/tests/Makefile.in 2008-06-18 17:02:34.000000000 +0200
+++ gnutls-2.4.0/guile/tests/Makefile.in 2008-06-27 20:08:13.000000000 +0200
@@ -48,7 +48,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-@ENABLE_OPENPGP_TRUE@am__append_1 = openpgp-keys.scm openpgp-keyring.scm openpgp-auth.scm
+@ENABLE_OPENPGP_TRUE@am__append_1 =
@ENABLE_SRP_TRUE@am__append_2 = srp-base64.scm
subdir = guile/tests
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in