pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/rasqal rasqual: Fix installation if gtk-doc p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c07a2726533
branches:  trunk
changeset: 370806:9c07a2726533
user:      leot <leot%pkgsrc.org@localhost>
date:      Tue Oct 24 10:44:51 2017 +0000

description:
rasqual: Fix installation if gtk-doc package is already installed

By default rasqual is configured with `--disable-gtk-doc'. However,
despite that, it will checks several `gtkdoc-*' tools anyway, ending
in a failure during the installation phase because only a couple
of them are available.

Add a kludge via CONFIGURE_ENV to avoid picking up gtkdoc-* tools.

Noticed by <martin>, thanks!

diffstat:

 textproc/rasqal/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 5ef90f88f493 -r 9c07a2726533 textproc/rasqal/Makefile
--- a/textproc/rasqal/Makefile  Tue Oct 24 07:43:39 2017 +0000
+++ b/textproc/rasqal/Makefile  Tue Oct 24 10:44:51 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2017/08/24 20:03:02 adam Exp $
+# $NetBSD: Makefile,v 1.30 2017/10/24 10:44:51 leot Exp $
 
 DISTNAME=      rasqal-0.9.33
 PKGREVISION=   5
@@ -16,6 +16,13 @@
 
 PKGCONFIG_OVERRIDE+=   rasqal.pc.in
 
+# XXX: Kludge to avoid uncoditionally pick up some gtkdoc-* tools if gtk-doc
+# XXX: package is installed and then fails in the installation phase.
+CONFIGURE_ENV+=                ac_cv_path_GTKDOC_CHECK= \
+                       ac_cv_path_GTKDOC_CHECK_PATH= \
+                       ac_cv_path_GTKDOC_REBASE= \
+                       ac_cv_path_GTKDOC_MKPDF=
+
 .include "../../devel/gmp/buildlink3.mk"
 .include "../../math/mpfr/buildlink3.mk"
 BUILDLINK_API_DEPENDS.raptor2+=        raptor2>=2.0.7



Home | Main Index | Thread Index | Old Index