From: Marcin Krol Date: Sun, 3 Dec 2023 22:39:34 +0000 (+0100) Subject: - ugly hack to make it build with recent autotools X-Git-Tag: auto/th/openjade-1.3.3-0.pre1.13 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=4c82cff12b303a848d7db3d0b15ac722a25f945c;p=packages%2Fopenjade.git - ugly hack to make it build with recent autotools --- diff --git a/openjade.spec b/openjade.spec index 286d249..c74d1a7 100644 --- a/openjade.spec +++ b/openjade.spec @@ -1,5 +1,5 @@ %define _pre pre1 -%define _rel 12 +%define _rel 13 Summary: OpenJade - DSSSL parser Summary(pl.UTF-8): OpenJade - parser DSSSL Name: openjade @@ -87,9 +87,17 @@ tail -n +3349 config/aclocal.m4 | head -n 64 > acinclude.m4 %{__libtoolize} %{__aclocal} %{__autoconf} +# Ugly hack to avoid error: +# configure: error: cannot find required auxiliary files: compile missing +# +# Proper way would be to use automake which creates these files, +# but then it fails complaining that no Makefile.am exists +cd config +touch compile missing +cd .. %configure \ ---enable-default-catalog=%{_sysconfdir}/sgml/catalog \ ---enable-default-search-path=%{_prefix}/share/sgml \ + --enable-default-catalog=%{_sysconfdir}/sgml/catalog \ + --enable-default-search-path=%{_prefix}/share/sgml \ --enable-mif \ --enable-html \ --enable-threads \