Fix configure script

This commit is contained in:
Andrey Bondrov 2016-11-11 23:32:10 +10:00
parent b87ec161f5
commit c2eb8236e3
2 changed files with 14 additions and 2 deletions

View file

@ -0,0 +1,11 @@
diff -urN synfig-1.0.2/configure.ac synfig-1.0.2-patched/configure.ac
--- synfig-1.0.2/configure.ac 2015-10-06 19:13:36.000000000 +1000
+++ synfig-1.0.2-patched/configure.ac 2016-11-11 23:31:31.144848872 +1000
@@ -125,6 +125,7 @@
AC_ARG_WITH(magickpp,
AS_HELP_STRING(--without-magickpp, [do not support Magick++]),[
+ AM_CONDITIONAL(HAVE_LIBMAGICKPP,false)
],[
with_magickpp="yes"
])

View file

@ -13,7 +13,8 @@ Group: Graphics
Url: http://www.synfig.org
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source100: %{name}.rpmlintrc
Patch0: %{name}-1.0.1-cflags.patch
Patch0: synfig-1.0.1-cflags.patch
Patch1: synfig-1.0.2-configure.patch
BuildRequires: cvs
BuildRequires: boost-devel >= 1.53.0
BuildRequires: ffmpeg-devel
@ -101,7 +102,7 @@ by synfig.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
export CC=gcc