Revision 382

Date:
2013/09/29 18:58:43
Author:
ahitrov
Revision Log:
Major version dir - fast patch for Perl 5.12.5

Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/core/ports/etc/perl.mk

     
    10 10 PERL_VER ?= ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d.%03d", $$1,$$2;'}
    11 11 else
    12 12 PERL_VER ?= ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d.%d.%d", $$1,$$2,$$3;'}
    13 PERL_MAJOR_VER ?= ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d.%d", $$1,$$2;'}
    13 14 endif
    14 15
    15 16 ifeq (${shell ${PERL} -e '${PERL_LEVEL}<500600 && print 1'},1)
     
    21 22 PERL_LIB ?= ${PREFIX}/lib/perl5/${PERL_VER} \
    22 23 ${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH} \
    23 24 ${PREFIX}/lib/perl5/site_perl \
    25 ${PREFIX}/lib/perl5/site_perl/${PERL_MAJOR_VER} \
    26 ${PREFIX}/lib/perl5/site_perl/${PERL_MAJOR_VER}/${PERL_ARCH} \
    24 27 ${PREFIX}/lib/perl5/site_perl/${PERL_VER} \
    25 28 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}
    26 29 PERL_LIBCOL ?= ${shell echo ${PERL_LIB} | perl -pe 's/\s+$$//; s/\s+/:/g'}