nixpkgs/pkgs/development/libraries/libchop/0003-fix-test-makefile.patch
Ludovic Courtès 175f3b3e62 libchop: Add patches that fix the whole thing.
svn path=/nixpkgs/trunk/; revision=30430
2011-11-14 20:10:01 +00:00

20 lines
1 KiB
Diff

commit c1d42668b6fa0777df99c349a9b3826c186f3b9d
Author: Ludovic Courtès <ludo@gnu.org>
Date: Sat Nov 5 00:03:00 2011 +0100
Define $GUILE_LOAD_COMPILED_PATH when running tests.
* tests/Makefile.am (TESTS_ENVIRONMENT): Define
$GUILE_LOAD_COMPILED_PATH.
diff -ubB --show-c-function /tmp/nix-build-bzqif52j6ypbhrkyg13ikc1wzscg2h7s-libchop-0.5.drv-0/libchop-0.5/tests/Makefile.in.orig /tmp/nix-build-bzqif52j6ypbhrkyg13ikc1wzscg2h7s-libchop-0.5.drv-0/libchop-0.5/tests/Makefile.in
--- libchop-0.5/tests/Makefile.in 2011-11-14 17:42:14.000000000 +0100
+++ libchop-0.5/tests/Makefile.in 2011-11-14 17:42:17.000000000 +0100
@@ -1048,6 +1048,7 @@ TESTS = $(check_PROGRAMS) $(check_SCRIPT
TESTS_ENVIRONMENT = \
PATH="$(top_builddir)/utils:$$PATH" \
GUILE_LOAD_PATH="$(abs_top_srcdir)/guile2:$(abs_top_builddir)/guile2:$$GUILE_LOAD_PATH" \
+ GUILE_LOAD_COMPILED_PATH="$(abs_top_builddir)/guile2:$$GUILE_LOAD_COMPILED_PATH" \
libchop_libdir="$(abs_top_builddir)/src" \
top_srcdir="$(abs_top_srcdir)" srcdir="$(abs_srcdir)/utils"