Revision 387

Date:
2013/10/18 13:03:04
Author:
ahitrov
Revision Log:
Perl version bug fix
Files:

Legend:

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

     
    7 7 PERL_LEVEL ?= ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d%03d%02d", $$1,$$2,$$3;'}
    8 8
    9 9 ifeq (${shell ${PERL} -e '${PERL_LEVEL}<500600 && print 1'},1)
    10 PERL_VER ?= ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d.%03d", $$1,$$2;'}
    11 elif (${shell ${PERL} -e '${PERL_LEVEL}<501205 && print 1'},1)
    10 PERL_VER = ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d.%03d", $$1,$$2;'}
    11 endif
    12
    13 ifeq (${shell ${PERL} -e '${PERL_LEVEL}<501205 && print 1'},1)
    12 14 PERL_VER ?= ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d.%d.%d", $$1,$$2,$$3;'}
    13 15 else
    14 16 PERL_VER ?= ${shell ${PERL} -e '$$]=~/(\d+)\.(\d{3})(\d+)/; printf "%d.%d", $$1,$$2;'}