diff options
Diffstat (limited to 'meta-oe/recipes-devtools/php/php.inc')
-rw-r--r-- | meta-oe/recipes-devtools/php/php.inc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc index 283d630f63..e466cdaf61 100644 --- a/meta-oe/recipes-devtools/php/php.inc +++ b/meta-oe/recipes-devtools/php/php.inc | |||
@@ -253,18 +253,6 @@ do_install_append_class-native() { | |||
253 | PHP_PEAR_SYSCONF_DIR=${sysconfdir}/ | 253 | PHP_PEAR_SYSCONF_DIR=${sysconfdir}/ |
254 | } | 254 | } |
255 | 255 | ||
256 | SSTATEPOSTINSTFUNCS_append_class-native = " php_sstate_postinst " | ||
257 | |||
258 | php_sstate_postinst() { | ||
259 | if [ "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] | ||
260 | then | ||
261 | head -n1 ${sysconfdir}/pear.conf > ${sysconfdir}/pear.tmp.conf | ||
262 | for p in `tail -n1 ${sysconfdir}/pear.conf | sed -s 's/;/ /g'`; do | ||
263 | echo $p | awk -F: 'BEGIN {OFS = ":"; ORS = ";"}{if(NF==3){print $1, length($3)-2*match($3, /^"/), $3} else {print $0}}'; | ||
264 | done >> ${sysconfdir}/pear.tmp.conf | ||
265 | mv -f ${sysconfdir}/pear.tmp.conf ${sysconfdir}/pear.conf | ||
266 | fi | ||
267 | } | ||
268 | 256 | ||
269 | # Fails to build with thumb-1 (qemuarm) | 257 | # Fails to build with thumb-1 (qemuarm) |
270 | # | {standard input}: Assembler messages: | 258 | # | {standard input}: Assembler messages: |