pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/redland redland: Fix installation if gtk-doc ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc6b49a4ac6d
branches:  trunk
changeset: 371365:bc6b49a4ac6d
user:      leot <leot%pkgsrc.org@localhost>
date:      Wed Nov 08 22:38:28 2017 +0000

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

By default redland is configured with `--disable-gtk-doc'. However,
despite that it will checks several `gtkdoc-*' tools anyway ending
in an 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.

Pointed out by <oster>, thanks!

diffstat:

 textproc/redland/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 58364f6e94c6 -r bc6b49a4ac6d textproc/redland/Makefile
--- a/textproc/redland/Makefile Wed Nov 08 22:23:01 2017 +0000
+++ b/textproc/redland/Makefile Wed Nov 08 22:38:28 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2017/08/24 20:03:02 adam Exp $
+# $NetBSD: Makefile,v 1.36 2017/11/08 22:38:28 leot Exp $
 
 DISTNAME=      redland-1.0.17
 PKGREVISION=   8
@@ -14,6 +14,12 @@
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 
+# 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_REBASE= \
+                       ac_cv_path_GTKDOC_MKPDF=
+
 .include "../../mk/bdb.buildlink3.mk"
 
 .if empty(BDB_LIBS)



Home | Main Index | Thread Index | Old Index