Mon Oct 23 10:11:21 2017 UTC ()
orc: Fix installation if gtk-doc package is already installed

By default orc 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.

Pointed out by <martin> via PR pkg/52632.


(leot)
diff -r1.11 -r1.12 pkgsrc/devel/orc/Makefile

cvs diff -r1.11 -r1.12 pkgsrc/devel/orc/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/orc/Makefile 2017/07/20 13:18:42 1.11
+++ pkgsrc/devel/orc/Makefile 2017/10/23 10:11:21 1.12
@@ -1,20 +1,29 @@ @@ -1,20 +1,29 @@
1# $NetBSD: Makefile,v 1.11 2017/07/20 13:18:42 adam Exp $ 1# $NetBSD: Makefile,v 1.12 2017/10/23 10:11:21 leot Exp $
2 2
3DISTNAME= orc-0.4.27 3DISTNAME= orc-0.4.27
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= https://gstreamer.freedesktop.org/src/orc/ 5MASTER_SITES= https://gstreamer.freedesktop.org/src/orc/
6EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://gstreamer.freedesktop.org/modules/orc.html 9HOMEPAGE= https://gstreamer.freedesktop.org/modules/orc.html
10COMMENT= Compiler for vector operations 10COMMENT= Compiler for vector operations
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13USE_LIBTOOL= yes 13USE_LIBTOOL= yes
14USE_TOOLS= gmake 14USE_TOOLS= gmake
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16PKGCONFIG_OVERRIDE+= orc.pc.in 16PKGCONFIG_OVERRIDE+= orc.pc.in
 17
 18# XXX: Kludge to avoid uncoditionally pick up some gtkdoc-* tools if gtk-doc
 19# XXX: package is installed and then fails in the installation phase.
 20CONFIGURE_ENV+= ac_cv_prog_GTKDOC_CHECK= \
 21 ac_cv_path_GTKDOC_CHECK_PATH= \
 22 ac_cv_path_GTKDOC_REBASE= \
 23 ac_cv_path_GTKDOC_MKPDF=
 24
17TEST_TARGET= check 25TEST_TARGET= check
18 26
 27
19.include "../../mk/pthread.buildlink3.mk" 28.include "../../mk/pthread.buildlink3.mk"
20.include "../../mk/bsd.pkg.mk" 29.include "../../mk/bsd.pkg.mk"