diff --git a/fontconfig.spec b/fontconfig.spec index 8e01df7..568f796 100644 --- a/fontconfig.spec +++ b/fontconfig.spec @@ -14,7 +14,6 @@ Source2: 50-no-hint-fonts.conf Patch1: fontconfig-2.3.91-defaultconfig.patch Patch2: fontconfig-2.3.91-crosscheck.patch -Patch3: fontconfig-nodocs.patch BuildRequires: freetype-devel >= %{freetype_version} BuildRequires: expat-devel @@ -52,13 +51,14 @@ will use fontconfig. %patch1 -p1 -b .defaultconfig %patch2 -p1 -b .crosscheck -%ifarch ppc -%patch3 -p1 -%endif %build +%ifnarch ppc %configure --with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/OTF +%else +%configure --with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/OTF --disable-docs +%endif # Work around weird elinks bug where elinks refuses to open the # temporary html file generated by jade because it thinks it's a