aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/php/php_5.6.26.bb
blob: 7e566b1ba2975803c9f857e5e2b74cbc44f3ebb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require php.inc

LIC_FILES_CHKSUM = "file://LICENSE;md5=b602636d46a61c0ac0432bbf5c078fe4"

SRC_URI += "file://change-AC_TRY_RUN-to-AC_TRY_LINK.patch \
            file://pthread-check-threads-m4.patch \
            file://0001-Add-lpthread-to-link.patch \
           "
SRC_URI[md5sum] = "cb424b705cfb715fc04f499f8a8cf52e"
SRC_URI[sha256sum] = "d47aab8083a4284b905777e1b45dd7735adc53be827b29f896684750ac8b6236"

python () {
    ver = d.getVar('PV')
    if not d.getVar('php_'+ver+'_OK'):
        msg = "%s disables itself because of many outstanding CVEs!" % (ver)
        msg = msg + " Define php_%s_OK = '1' to build it." % (ver)
        raise bb.parse.SkipPackage(msg)
}