@@ -403,6 +403,12 @@ AutoReqProv: no
%endif
%if "%{with_mod_php}" == "yes"
%setup3 -q -T -D -a 3
+ ( cd php-%{V_mod_php}
+ %{l_shtool} subst \
+ -e 's;\(/include\)/freetype2;\1;' \
+ configure \
+ ext/gd/config.m4
+ ) || exit $?
%if "%{with_mod_dav}" == "yes"
%setup4 -q -T -D -a 4
@@ -206,6 +206,10 @@ AutoReqProv: no
%prep
%setup -q
%build
# configure package