• perl.mk

    386 387  
    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;'}