Tue Oct 24 10:44:51 2017 UTC ()
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!


(leot)
diff -r1.29 -r1.30 pkgsrc/textproc/rasqal/Makefile

cvs diff -r1.29 -r1.30 pkgsrc/textproc/rasqal/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/rasqal/Makefile 2017/08/24 20:03:02 1.29
+++ pkgsrc/textproc/rasqal/Makefile 2017/10/24 10:44:51 1.30
@@ -1,25 +1,32 @@ @@ -1,25 +1,32 @@
1# $NetBSD: Makefile,v 1.29 2017/08/24 20:03:02 adam Exp $ 1# $NetBSD: Makefile,v 1.30 2017/10/24 10:44:51 leot Exp $
2 2
3DISTNAME= rasqal-0.9.33 3DISTNAME= rasqal-0.9.33
4PKGREVISION= 5 4PKGREVISION= 5
5CATEGORIES= textproc 5CATEGORIES= textproc
6MASTER_SITES= http://download.librdf.org/source/ 6MASTER_SITES= http://download.librdf.org/source/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://librdf.org/rasqal 9HOMEPAGE= http://librdf.org/rasqal
10COMMENT= Library that handles RDF query syntaxes 10COMMENT= Library that handles RDF query syntaxes
11LICENSE= gnu-lgpl-v2.1 OR apache-2.0 11LICENSE= gnu-lgpl-v2.1 OR apache-2.0
12 12
13USE_TOOLS+= gmake pkg-config 13USE_TOOLS+= gmake pkg-config
14GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
15USE_LIBTOOL= yes 15USE_LIBTOOL= yes
16 16
17PKGCONFIG_OVERRIDE+= rasqal.pc.in 17PKGCONFIG_OVERRIDE+= rasqal.pc.in
18 18
 19# XXX: Kludge to avoid uncoditionally pick up some gtkdoc-* tools if gtk-doc
 20# XXX: package is installed and then fails in the installation phase.
 21CONFIGURE_ENV+= ac_cv_path_GTKDOC_CHECK= \
 22 ac_cv_path_GTKDOC_CHECK_PATH= \
 23 ac_cv_path_GTKDOC_REBASE= \
 24 ac_cv_path_GTKDOC_MKPDF=
 25
19.include "../../devel/gmp/buildlink3.mk" 26.include "../../devel/gmp/buildlink3.mk"
20.include "../../math/mpfr/buildlink3.mk" 27.include "../../math/mpfr/buildlink3.mk"
21BUILDLINK_API_DEPENDS.raptor2+= raptor2>=2.0.7 28BUILDLINK_API_DEPENDS.raptor2+= raptor2>=2.0.7
22.include "../../textproc/raptor2/buildlink3.mk" 29.include "../../textproc/raptor2/buildlink3.mk"
23.include "../../devel/pcre/buildlink3.mk" 30.include "../../devel/pcre/buildlink3.mk"
24.include "../../textproc/libxml2/buildlink3.mk" 31.include "../../textproc/libxml2/buildlink3.mk"
25.include "../../mk/bsd.pkg.mk" 32.include "../../mk/bsd.pkg.mk"