]> err.no Git - dpkg/commitdiff
Force use of shipped perl modules instead of system ones for perl tests
authorGuillem Jover <guillem@debian.org>
Sun, 4 Nov 2007 20:10:43 +0000 (22:10 +0200)
committerGuillem Jover <guillem@debian.org>
Thu, 15 Nov 2007 22:22:05 +0000 (00:22 +0200)
ChangeLog
scripts/Makefile.am

index 3241f271f800fd02938f98b0b59ed01362b6d916..07b45e8ac4477980d6e653eda612d98fe94df914 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-04  Guillem Jover  <guillem@debian.org>
+
+       * scripts/Makefile.am (clean): Set PERL5LIB to force use of shipped
+       modules instead of system ones.
+
 2007-11-04  Guillem Jover  <guillem@debian.org>
 
        * scripts/dpkg-architecture.pl: Move host and build arch detection
index b18b513a3e7717f9faebdd206775fdc2b1821d15..538ac587947a5a0cd048fb81c21bda00f6bf8eb9 100644 (file)
@@ -146,4 +146,4 @@ check: $(TEST_FILES) $(wildcard $(srcdir)/t/200_Dpkg_Shlibs/ld.so.conf*)
 # a bit hacky...
        $(mkdir_p) t.tmp
        cp -dRl $(srcdir)/t/200_Dpkg_Shlibs/ld.so.conf* t.tmp/
-       srcdir=$(srcdir) PERL_DL_NONLAZY=1 $(PERL) -I$(srcdir) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '.')" $(TEST_FILES)
+       srcdir=$(srcdir) PERL5LIB=$(srcdir) PERL_DL_NONLAZY=1 $(PERL) -I$(srcdir) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '.')" $(TEST_FILES)