From fd93c0468269e88fdaa420189f703b00771d69d6 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Apr 17 2017 14:22:18 +0000 Subject: Fix build. --- diff --git a/link-grammar.spec b/link-grammar.spec index 8c698d0..39e78ef 100644 --- a/link-grammar.spec +++ b/link-grammar.spec @@ -7,7 +7,7 @@ License: LGPLv2+ Source: http://www.abisource.com/downloads/link-grammar/%{version}/link-grammar-%{version}.tar.gz URL: http://abisource.com/projects/link-grammar/ BuildRequires: hunspell-devel, java-devel, jpackage-utils, libedit-devel, ant, perl-devel, python3-devel, python2-devel -BuildRequires: perl-generators, minisat2-devel +BuildRequires: perl-generators, minisat2-devel, autoconf, automake, libtool, autoconf-archive %description A full-service natural language dependency parser for @@ -72,7 +72,8 @@ Python 2 libraries for liblink-grammar %build # help configure find jni.h export JAVA_HOME=%{java_home} -%configure --disable-static --enable-pthreads --disable-aspell --enable-perl-bindings --enable-python3-bindings +autoreconf -if +%configure --disable-static --enable-pthreads --disable-aspell --enable-perl-bindings sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool #make