]> git.pld-linux.org Git - packages/perl.git/blobdiff - perl_585-microperl_uconfig.patch
- rel 0.2; more files; is it ready for rel 1 now? speak up if you have objections
[packages/perl.git] / perl_585-microperl_uconfig.patch
index df48fc0ec75324fde9e6bac7fe2f8b4fab3c9292..97478b520f63f1c0d80da7a875a64f53918fd5a5 100644 (file)
@@ -1,18 +1,47 @@
---- perl-5.8.5/uconfig.sh      2004-07-04 23:43:22.000000000 +0200
-+++ perl-5.8.5/uconfig.sh      2004-07-21 20:26:34.639594224 +0200
-@@ -4,11 +4,7 @@
- afs='false'
+diff -urN perl-5.10.0.org/Makefile.micro perl-5.10.0/Makefile.micro
+--- perl-5.10.0.org/Makefile.micro     2007-12-18 11:47:07.000000000 +0100
++++ perl-5.10.0/Makefile.micro 2008-01-09 14:22:14.801222180 +0100
+@@ -39,6 +39,12 @@
+ distclean:    clean
++# 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) \
++      usemallocwrap=$(usemallocwrap)
++
+ # The microconfiguration.
+ # Cannot use $$ in the command line itself, so using var expansion instead.
+@@ -47,7 +53,9 @@
+       $(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
+ regen_uconfig uconfig.h: uconfig.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
++
++uconfig.h: regen_uconfig
+ # Do not regenerate perly.c and perly.h.
+diff -urN perl-5.10.0.org/uconfig.sh perl-5.10.0/uconfig.sh
+--- perl-5.10.0.org/uconfig.sh 2007-12-18 11:47:08.000000000 +0100
++++ perl-5.10.0/uconfig.sh     2008-01-09 14:21:01.327533497 +0100
+@@ -5,12 +5,7 @@
  afsroot='/afs'
  alignbytes='4'
--archlib='/usr/local/lib/perl5/5.9/unknown'
--archlibexp='/usr/local/lib/perl5/5.9/unknown'
+ aphostname='/bin/hostname'
+-archlib='/usr/local/lib/perl5/5.10/unknown'
+-archlibexp='/usr/local/lib/perl5/5.10/unknown'
 -archname='unknown'
  asctime_r_proto='0'
 -bin='/usr/local/bin'
+-binexp='/usr/local/bin'
  byteorder='1234'
  castflags='0'
- charsize='1'
-@@ -36,7 +32,7 @@
+ cf_by='root@localhost'
+@@ -43,7 +38,7 @@
  d_accessx='undef'
  d_aintl='undef'
  d_alarm='undef'
  d_asctime_r='undef'
  d_atolf='undef'
  d_atoll='undef'
-@@ -594,11 +590,8 @@
- obj_ext='.o'
+@@ -221,7 +216,7 @@
+ d_libm_lib_version='undef'
+ d_link='undef'
+ d_localtime_r='undef'
+-d_localtime_r_needs_tzset='undef'
++d_localtime_r_needs_tzset='define'
+ d_locconv='undef'
+ d_lockf='undef'
+ d_longdbl='undef'
+@@ -639,14 +634,10 @@
+ old_pthread_create_joinable=''
  optimize='-O2'
  orderlib='false'
 -osname='unknown'
+-osvers='unknown'
+ otherlibdirs=' '
+ package='perl5'
  phostname='hostname'
  pidtype=int
--privlib='/usr/local/lib/perl5/5.9'
--privlibexp='/usr/local/lib/perl5/5.9'
+-privlib='/usr/local/lib/perl5/5.10'
+-privlibexp='/usr/local/lib/perl5/5.10'
  procselfexe=''
  prototype='undef'
  ptrsize='4'
-@@ -625,8 +618,6 @@
+@@ -673,8 +664,6 @@
  sPRIx64='"Lx"'
  sSCNfldbl='"llf"'
  sched_yield='sched_yield()'
  seedfunc='srand'
  selectminbits='32'
  selecttype=int
---- perl-5.8.5/Makefile.micro  2004-07-04 23:43:19.000000000 +0200
-+++ perl-5.8.5/Makefile.micro  2004-07-21 20:28:23.168095384 +0200
-@@ -34,10 +34,18 @@
- distclean:    clean
-+# 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) \
-+      usemallocwrap=$(usemallocwrap)
-+
- # The microconfiguration.
- regen_uconfig:
--      $(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
-+ 
-+ uconfig.h: regen_uconfig
- # Do not regenerate perly.c and perly.h.
---- perl-5.8.7/uconfig.sh.orig 2006-01-23 10:56:57.000000000 +0100
-+++ perl-5.8.7/uconfig.sh      2006-01-23 11:30:05.000000000 +0100
-@@ -194,6 +194,7 @@
- d_ldbl_dig='undef'
- d_link='undef'
- d_localtime_r='undef'
-+d_localtime_r_needs_tzset='define'
- d_locconv='undef'
- d_lockf='undef'
- d_longdbl='undef'
-@@ -361,6 +362,8 @@
- d_strerror='undef'
- d_strerror_r='undef'
- d_strftime='undef'
-+d_strlcat='undef'
-+d_strlcpy='undef'
- d_strtod='undef'
- d_strtol='undef'
- d_strtold='undef'
-@@ -494,6 +497,7 @@
- i_machcthr='undef'
- i_malloc='undef'
- i_math='define'
-+d_libm_lib_version='define'
- i_memory='undef'
- i_mntent='undef'
- i_ndbm='undef'
-@@ -685,6 +689,7 @@
- usereentrant='undef'
- usesfio='false'
- useshrplib='false'
-+usesitecustomize='undef'
- usesocks='undef'
- usethreads='undef'
- usevendorprefix='undef'
This page took 0.029938 seconds and 4 git commands to generate.