[mingw-pango] Fix the build on RHEL7 due to too old gtk-doc
Erik van Pienbroek
epienbro at fedoraproject.org
Fri Sep 12 18:48:18 UTC 2014
commit ff78f0e0c7d9fa8d6c41631cb8ead896229b7886
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Fri Sep 12 20:42:57 2014 +0200
Fix the build on RHEL7 due to too old gtk-doc
mingw-pango.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/mingw-pango.spec b/mingw-pango.spec
index abc6209..223901f 100644
--- a/mingw-pango.spec
+++ b/mingw-pango.spec
@@ -108,6 +108,12 @@ Static version of the MinGW Windows Pango library.
%setup -q -n pango-%{version}
%patch1001 -p0 -b .delay_load
+
+%if 0%{?rhel} == 7
+# Ugly workaround for RHEL7 which has an too old version of gtk-doc
+echo 'AM_CONDITIONAL([HAVE_GTK_DOC], [false])' >> configure.ac
+%endif
+
gtkdocize
autoreconf -i --force
More information about the scm-commits
mailing list