lcms2 is no longer optional

epel9
Rex Dieter 9 years ago
parent 4c2614aa82
commit e946776685

@ -4,10 +4,6 @@
%global _with_quantum_depth --with-quantum-depth=16
%endif
%if 0%{?fedora} || 0%{?rhel} > 5
%global lcms2 --with-lcms2
%endif
%if 0%{?fedora} || 0%{?rhel} > 6
%global _enable_quantum_library_names --enable-quantum-library-names
%global libQ -Q16
@ -55,9 +51,7 @@ Patch50: GraphicsMagick-1.3.14-perl_linkage.patch
BuildRequires: bzip2-devel
BuildRequires: freetype-devel
BuildRequires: jasper-devel
%if 0%{?lcms2:1}
BuildRequires: lcms2-devel
%endif
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: librsvg2-devel
@ -181,7 +175,7 @@ sed -i.rpath -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
%build
%configure --enable-shared --disable-static \
--docdir=%{_pkgdocdir} \
%{?lcms2} \
--with-lcms2 \
--with-magick_plus_plus \
--with-modules \
--with-perl \

Loading…
Cancel
Save