--- /dev/null
+--- perl-5.8.4/uconfig.sh.orig 2004-04-26 17:55:48.615159968 +0200
++++ perl-5.8.4/uconfig.sh 2004-04-26 18:17:25.435013384 +0200
+@@ -5,11 +5,7 @@
+ afsroot='/afs'
+ alignbytes='4'
+ apiversion='5.005'
+-archlib='/usr/local/lib/perl5/5.7/unknown'
+-archlibexp='/usr/local/lib/perl5/5.7/unknown'
+-archname='unknown'
+ asctime_r_proto='0'
+-bin='/usr/local/bin'
+ byteorder='1234'
+ castflags='0'
+ charsize='1'
+@@ -37,7 +33,7 @@
+ d_accessx='undef'
+ d_aintl='undef'
+ d_alarm='undef'
+-d_archlib='undef'
++d_archlib='define'
+ d_asctime_r='undef'
+ d_atolf='undef'
+ d_atoll='undef'
+@@ -595,11 +591,8 @@
+ obj_ext='.o'
+ optimize='-O2'
+ orderlib='false'
+-osname='unknown'
+ phostname='hostname'
+ pidtype=int
+-privlib='/usr/local/lib/perl5/5.7'
+-privlibexp='/usr/local/lib/perl5/5.7'
+ procselfexe=''
+ prototype='undef'
+ ptrsize='4'
+@@ -626,8 +619,6 @@
+ sPRIx64='"Lx"'
+ sSCNfldbl='"llf"'
+ sched_yield='sched_yield()'
+-scriptdir='/usr/local/bin'
+-scriptdirexp='/usr/local/bin'
+ seedfunc='srand'
+ selectminbits='32'
+ selecttype=int
+--- perl-5.8.4/Makefile.micro.orig 2003-08-12 14:58:29.000000000 +0200
++++ perl-5.8.4/Makefile.micro 2004-04-26 18:03:04.242934480 +0200
+@@ -35,10 +35,15 @@
+ distclean: clean
+ -rm -f uconfig.h
+
++# not really autoconfigured variables (PLD hack, requires patched uconfig.sh)
++NRACV = archlib=$(archlib) archlibexp=$(archlibexp) privlib=$(privlib) \
++ privlibexp=$(privlibexp) archname=$(archname) osname=$(osname) \
++ bin=$(bin) scriptdir=$(scriptdir) scriptdirexp=$(scriptdirexp)
++
+ # The microconfiguration.
+
+ uconfig.h: uconfig.sh config_h.SH
+- $(ENV) CONFIG_SH=uconfig.sh CONFIG_H=uconfig.h sh ./config_h.SH
++ $(ENV) CONFIG_SH=uconfig.sh CONFIG_H=uconfig.h $(NRACV) sh ./config_h.SH
+
+ # Do not regenerate perly.c and perly.h.
+