From 0d4bb95e3edf24fb567753b566d935dc37b8cf2f Mon Sep 17 00:00:00 2001 From: dholland Date: Fri, 21 Dec 2012 05:33:47 +0000 Subject: Work around header naming conflict with harfbuzz. Fixes build. --- multimedia/handbrake/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'multimedia/handbrake') diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile index ebb1ac5160b..485c5e5bc1f 100644 --- a/multimedia/handbrake/Makefile +++ b/multimedia/handbrake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2012/10/08 23:02:11 adam Exp $ +# $NetBSD: Makefile,v 1.24 2012/12/21 05:33:47 dholland Exp $ # DISTNAME= HandBrake-0.9.3 @@ -55,6 +55,16 @@ BUILD_DEPENDS+= yasm>=0.6.1:../../devel/yasm CLI_CONFIGURE_ARGS= --release +# harfbuzz, which is now separate from pango, installs a header file +# called hb.h, and the include path plopped out by autocrap causes it +# to be included instead of handbrake's own hb.h. Hack around it by +# changing the include name to point specifically at the right hb.h. +SUBST_CLASSES+= inchack +SUBST_STAGE.inchack= pre-configure +SUBST_FILES.inchack= gtk/src/*.[ch] +SUBST_SED.inchack= -e "/^.include \"hb\.h\"/s,hb,../../libhb/hb," +SUBST_MESSAGE.inchack= Working around harfbuzz header conflict. + post-extract: cp ${FILESDIR}/patch-ffmpeg-nodocs.patch \ ${WRKSRC}/contrib/ -- cgit v1.2.3