+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
* 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).
# 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