diff options
author | dholland <dholland@pkgsrc.org> | 2012-12-21 05:33:47 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-12-21 05:33:47 +0000 |
commit | 0d4bb95e3edf24fb567753b566d935dc37b8cf2f (patch) | |
tree | baae0623db31cecf5b74f40ed13958a8a53da874 /multimedia | |
parent | b0416bb62bcf6a4999f348489cf6473da7d1561e (diff) | |
download | pkgsrc-0d4bb95e3edf24fb567753b566d935dc37b8cf2f.tar.gz |
Work around header naming conflict with harfbuzz. Fixes build.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/handbrake/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
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/ |