]> err.no Git - dpkg/commitdiff
Use shipped perl modules when calling perl programs at build time
authorGuillem Jover <guillem@debian.org>
Tue, 9 Oct 2007 23:56:39 +0000 (02:56 +0300)
committerGuillem Jover <guillem@debian.org>
Thu, 11 Oct 2007 01:19:06 +0000 (04:19 +0300)
ChangeLog
debian/changelog
m4/arch.m4

index 5cadbafc191a7fced240a462da053f143b9e989d..a25b33f9b3526a83dce232487f586bead5565cc8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-10  Guillem Jover  <guillem@debian.org>
+
+       * m4/arch.m4(_DPKG_ARCHITECTURE): Set PERL5LIB when calling
+       dpkg-architecture.pl to use the shipped perl modules instead of
+       the system ones.
+
 2007-10-09  Guillem Jover  <guillem@debian.org>
 
        * scripts/dpkg-gensymbols.pl: Use new Dpkg module. Do not declare
index 8abbda3f7d517bdd1af2b360155bc5f762315c30..7e2233578cf8374af42adf515a53d7633bf88df3 100644 (file)
@@ -38,6 +38,9 @@ dpkg (1.14.8) UNRELEASED; urgency=low
   * Various small fixes to the manpages suggested by Helge Kreutzmann.
     Closes: #445858
 
+  [ Guillem Jover ]
+  * Use shipped perl modules when calling perl programs at build time.
+
   [ Updated dpkg translations ]
   * Polish (Robert Luberda).
 
index 59c1364181ace80b3df5b85bc667fcd8f8f6c32d..e6f242a0bb0d2d336758ad8ceca903124ca03735 100644 (file)
@@ -4,7 +4,8 @@
 # the target architecture, to avoid duplicating its logic.
 AC_DEFUN([_DPKG_ARCHITECTURE], [
 AC_REQUIRE([AC_CANONICAL_SYSTEM])dnl
-$2="`cd $srcdir/scripts; ./dpkg-architecture.pl -t$target -q$1 2>/dev/null`"
+$2="`cd $srcdir/scripts; \
+     PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$target -q$1 2>/dev/null`"
 ])# _DPKG_ARCHITECURE
 
 # DPKG_CPU_TYPE