pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/handbrake Requires -fheinous-gnu-extensions...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/080ffcc4dacd
branches:  trunk
changeset: 368010:080ffcc4dacd
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Sep 10 00:28:28 2017 +0000

description:
Requires -fheinous-gnu-extensions with clang.

diffstat:

 multimedia/handbrake/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 2979769cbcde -r 080ffcc4dacd multimedia/handbrake/Makefile
--- a/multimedia/handbrake/Makefile     Sun Sep 10 00:12:16 2017 +0000
+++ b/multimedia/handbrake/Makefile     Sun Sep 10 00:28:28 2017 +0000
@@ -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_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/



Home | Main Index | Thread Index | Old Index