]> git.pld-linux.org Git - packages/perl.git/blob - perl_585-microperl_uconfig.patch
- updated to 6.5.5-3
[packages/perl.git] / perl_585-microperl_uconfig.patch
1 diff -urN perl-5.10.0.org/Makefile.micro perl-5.10.0/Makefile.micro
2 --- perl-5.10.0.org/Makefile.micro      2007-12-18 11:47:07.000000000 +0100
3 +++ perl-5.10.0/Makefile.micro  2008-01-09 14:22:14.801222180 +0100
4 @@ -39,6 +39,12 @@
5  
6  distclean:     clean
7  
8 +# not really autoconfigured variables (PLD hack, requires patched uconfig.sh)
9 +NRACV = archlib=$(archlib) archlibexp=$(archlibexp) privlib=$(privlib) \
10 +       privlibexp=$(privlibexp) archname=$(archname) osname=$(osname) \
11 +       bin=$(bin) scriptdir=$(scriptdir) scriptdirexp=$(scriptdirexp) \
12 +       usemallocwrap=$(usemallocwrap)
13 +
14  # The microconfiguration.
15  
16  # Cannot use $$ in the command line itself, so using var expansion instead.
17 @@ -47,7 +53,9 @@
18         $(PERL) -MConfig -pi -e "s/^((?:short|int|long(?:dbl|long)?|ptr|double|[iun]v|u?quad|[iu]\d+|fpos|lseek)(?:size|type)|byteorder|d_quad|quadkind|use64.+)=.*/\\1='"$(Config)"'/g" uconfig.shx
19  
20  regen_uconfig uconfig.h: uconfig.sh
21 -       $(ENV) CONFIG_SH=uconfig.sh CONFIG_H=uconfig.h sh ./config_h.SH
22 +       $(ENV) CONFIG_SH=uconfig.sh CONFIG_H=uconfig.h $(NRACV) sh ./config_h.SH
23 +
24 +uconfig.h: regen_uconfig
25  
26  # Do not regenerate perly.c and perly.h.
27  
28 --- perl-5.10.1/uconfig.sh.orig 2009-08-25 08:37:36.000000000 +0200
29 +++ perl-5.10.1/uconfig.sh      2009-08-25 08:43:07.000000000 +0200
30 @@ -5,12 +5,7 @@
31  afsroot='/afs'
32  alignbytes='4'
33  aphostname='/bin/hostname'
34 -archlib='/usr/local/lib/perl5/5.11/unknown'
35 -archlibexp='/usr/local/lib/perl5/5.11/unknown'
36 -archname='unknown'
37  asctime_r_proto='0'
38 -bin='/usr/local/bin'
39 -binexp='/usr/local/bin'
40  byteorder='1234'
41  castflags='0'
42  cf_by='root@localhost'
43 @@ -43,7 +38,7 @@
44  d_accessx='undef'
45  d_aintl='undef'
46  d_alarm='undef'
47 -d_archlib='undef'
48 +d_archlib='define'
49  d_asctime64='undef'
50  d_asctime_r='undef'
51  d_atolf='undef'
52 @@ -232,7 +227,7 @@
53  d_libm_lib_version='undef'
54  d_link='undef'
55  d_localtime64='undef'
56 -d_localtime_r_needs_tzset='undef'
57 +d_localtime_r_needs_tzset='define'
58  d_localtime_r='undef'
59  d_locconv='undef'
60  d_lockf='undef'
61 @@ -661,14 +656,10 @@
62  old_pthread_create_joinable=''
63  optimize='-O2'
64  orderlib='false'
65 -osname='unknown'
66 -osvers='unknown'
67  otherlibdirs=' '
68  package='perl5'
69  phostname='hostname'
70  pidtype=int
71 -privlib='/usr/local/lib/perl5/5.11'
72 -privlibexp='/usr/local/lib/perl5/5.11'
73  procselfexe=''
74  prototype='undef'
75  ptrsize='4'
76 @@ -699,8 +690,6 @@
77  sPRIXU64='"LX"'
78  sSCNfldbl='"llf"'
79  sched_yield='sched_yield()'
80 -scriptdir='/usr/local/bin'
81 -scriptdirexp='/usr/local/bin'
82  seedfunc='srand'
83  selectminbits='32'
84  selecttype=int
This page took 0.029495 seconds and 3 git commands to generate.