diff options
author | dholland <dholland@pkgsrc.org> | 2017-09-10 00:28:28 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2017-09-10 00:28:28 +0000 |
commit | fd0ddb1a3e60a9de7d02836357c25bddace57b3b (patch) | |
tree | 4ca99dc9b1a6a7fda05584c328a7d7d965a49299 /multimedia/handbrake/Makefile | |
parent | ab5b3ce23615d739107cc0dd9b4ff9e5ec0d6e12 (diff) | |
download | pkgsrc-fd0ddb1a3e60a9de7d02836357c25bddace57b3b.tar.gz |
Requires -fheinous-gnu-extensions with clang.
Diffstat (limited to 'multimedia/handbrake/Makefile')
-rw-r--r-- | multimedia/handbrake/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile index bdeb6d38754..904d8df7691 100644 --- a/multimedia/handbrake/Makefile +++ b/multimedia/handbrake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2017/02/12 06:25:47 ryoon Exp $ +# $NetBSD: Makefile,v 1.43 2017/09/10 00:28:28 dholland Exp $ # DISTNAME= HandBrake-0.9.3 @@ -67,6 +67,12 @@ 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. +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mclang) +CFLAGS+= -fheinous-gnu-extensions +.endif + post-extract: cp ${FILESDIR}/patch-ffmpeg-nodocs.patch \ ${WRKSRC}/contrib/ |