Browse Source

adopted file path changes introduced by freetype-20031107

Christoph Schug 22 years ago
parent
commit
d16ce99927
2 changed files with 10 additions and 0 deletions
  1. 6 0
      apache/apache.spec
  2. 4 0
      php/php.spec

+ 6 - 0
apache/apache.spec

@@ -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 $?
 %endif
 %if "%{with_mod_dav}" == "yes"
     %setup4 -q -T -D -a 4

+ 4 - 0
php/php.spec

@@ -206,6 +206,10 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %{l_shtool} subst \
+        -e 's;\(/include\)/freetype2;\1;' \
+        configure \
+        ext/gd/config.m4
 
 %build
     #   configure package