This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
microperl: Fix patch_uconfig target
authorDavid Leadbeater <dgl@dgl.cx>
Mon, 7 Mar 2011 19:29:57 +0000 (19:29 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 28 Mar 2011 09:21:48 +0000 (10:21 +0100)
Previously it tried to patch 'uconfig.shx', now it patches
'uconfig.sh' as documented.

Makefile.micro

index feae797..3836118 100644 (file)
@@ -45,7 +45,7 @@ distclean:    clean
 # Cannot use $$ in the command line itself, so using var expansion instead.
 Config = '$$Config{$$1}'
 patch_uconfig:
-       $(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
+       $(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.sh
 
 regen_uconfig: uconfig.sh config_h.SH
        $(ENV) CONFIG_SH=uconfig.sh CONFIG_H=uconfig.h sh ./config_h.SH