From fbf6d8bc8d18c4ab1a544f8d3513e4bb3b6ecbbd Mon Sep 17 00:00:00 2001 From: Warren Togami Date: Mon, 27 Sep 2004 06:25:32 +0000 Subject: [PATCH] conditionalize freetype patch --- thunderbird.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/thunderbird.spec b/thunderbird.spec index 44bf152..9804e8f 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -1,3 +1,6 @@ +# Option: Freetype Patch (FC3+) +%define freetype_fc3 1 + ExclusiveArch: i386 x86_64 ia64 ppc Summary: Mozilla Thunderbird mail/newsgroup client @@ -48,7 +51,9 @@ echo "ac_add_options --libdir=%{_libdir}" >> .mozconfig echo "ac_add_options --with-default-mozilla-five-home=%{tbdir}" >> .mozconfig echo "mk_add_options MOZ_MAKE_FLAGS='%{?_smp_mflags}'" >> .mozconfig cp -f %{SOURCE5} . +%if %{freetype_fc3} %patch4 -p0 -b .freetype +%endif %patch5 -p1 -b .psfonts %patch6 -p1 -b .gnome-uriloader