[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / orc

File: [cvs.NetBSD.org] / pkgsrc / devel / orc / Makefile (download)

Revision 1.12, Mon Oct 23 10:11:21 2017 UTC (2 years, 8 months ago) by leot
Branch: MAIN
Changes since 1.11: +10 -1 lines

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.

# $NetBSD: Makefile,v 1.12 2017/10/23 10:11:21 leot Exp $

DISTNAME=	orc-0.4.27
CATEGORIES=	devel
MASTER_SITES=	https://gstreamer.freedesktop.org/src/orc/
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://gstreamer.freedesktop.org/modules/orc.html
COMMENT=	Compiler for vector operations
LICENSE=	modified-bsd

USE_LIBTOOL=		yes
USE_TOOLS=		gmake
GNU_CONFIGURE=		yes
PKGCONFIG_OVERRIDE+=	orc.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_prog_GTKDOC_CHECK= \
			ac_cv_path_GTKDOC_CHECK_PATH= \
			ac_cv_path_GTKDOC_REBASE= \
			ac_cv_path_GTKDOC_MKPDF=

TEST_TARGET=		check


.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"