blob: fb1c25d007afe90209d2fabeeb7d88dc6be19e75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# look for files in this layer first
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
PR_append = "-arago1"
SRC_URI_append_virtclass-native = " file://0001-php-native-Fix-host-contamination-issue.patch"
# Work around to address the fact that php-fpm and php-cgi can not coexist
# php-cgi is used by Matrix and php-fpm is in beta for this version of php.
# Once this issue is fix in meta-oe the below won't be needed.
# Issue mentioned here: https://bugs.php.net/bug.php?id=60144
EXTRA_OECONF := "${@oe_filter_out('--enable-fpm', '${EXTRA_OECONF}', d)}"
PACKAGES := "${@oe_filter_out('${PN}-fpm', '${PACKAGES}', d)}"
PACKAGES := "${@oe_filter_out('${PN}-fpm-apache2', '${PACKAGES}', d)}"
do_install_prepend_pn-php() {
# Add the below file even though we aren't going to use it.
# do_install will complain and fail if this file isn't found.
touch ${S}/sapi/fpm/init.d.php-fpm
}
|