[packages/openjade] - ugly hack to make it build with recent autotools

hawk hawk at pld-linux.org
Sun Dec 3 23:39:45 CET 2023


commit 4c82cff12b303a848d7db3d0b15ac722a25f945c
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Sun Dec 3 23:39:34 2023 +0100

    - ugly hack to make it build with recent autotools

 openjade.spec | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
---
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 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjade.git/commitdiff/4c82cff12b303a848d7db3d0b15ac722a25f945c



More information about the pld-cvs-commit mailing list