Skip to content

Commit bb071d8

Browse files
authored
Merge pull request centos-bz#34 from DoopSky/master
Update php.sh
2 parents 8bafb32 + 1d76f76 commit bb071d8

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

function/php.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,10 @@ if check_sys packageManager apt; then
229229
# local ICUVer=`dpkg -s libicu-dev | grep "Version:" `
230230
# if [[ "$FreeTypeVer" =~ "2.9.1-3" && "$ICUVer" =~ "63.1-6" ]];then
231231
if [[ "$FreeTypeVer" =~ "2.9.1-3" ]];then
232-
echo "OK!"
233232
sed -i "s/freetype-config/pkg-config/g" ./configure
234233
sed -i "s/freetype-config/pkg-config/g" ./ext/gd/config.m4
235-
236-
# sed -i "s/icu-config/pkg-config/g" ./configure
237-
# sed -i "s/icu-config/pkg-config/g" ./aclocal.m4
238-
# sed -i "s/icu-config/pkg-config/g" ./acinclude.m4
234+
sed -i "s/FREETYPE2_CONFIG --cflags/FREETYPE2_CONFIG freetype2 --cflags/g" ./configure
235+
sed -i "s/FREETYPE2_CONFIG --libs/FREETYPE2_CONFIG freetype2 --cflags/g" ./configure
239236
fi
240237
fi
241238
}

0 commit comments

Comments
 (0)