pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/libvpx Improve Clang build fix and use it u...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9b1c47175880
branches: trunk
changeset: 649774:9b1c47175880
user: tron <tron%pkgsrc.org@localhost>
date: Thu Apr 09 17:09:01 2015 +0000
description:
Improve Clang build fix and use it under Mac OS X as well. The problem
is specific to the verion of Clang (3.5 and newer) and not the platform.
This package now builds under Mac OS X Yosemite with the latest version
of Xcode tools.
diffstat:
multimedia/libvpx/Makefile | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r bc2e5738215c -r 9b1c47175880 multimedia/libvpx/Makefile
--- a/multimedia/libvpx/Makefile Thu Apr 09 17:01:31 2015 +0000
+++ b/multimedia/libvpx/Makefile Thu Apr 09 17:09:01 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2015/02/25 11:13:54 adam Exp $
+# $NetBSD: Makefile,v 1.52 2015/04/09 17:09:01 tron Exp $
DISTNAME= libvpx_1.3.0.orig
PKGNAME= ${DISTNAME:S/_/-/:S/.orig//}
@@ -93,9 +93,12 @@
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CXXFLAGS+= -std=c++11
-. if ${OPSYS} == "NetBSD"
+. if ${OPSYS} == "NetBSD" || ${OPSYS} == "Darwin"
# https://bugzilla.mozilla.org/show_bug.cgi?id=982693
-CFLAGS+= -fno-integrated-as
+SUBST_CLASSES+= clang
+SUBST_STAGE.clang= post-patch
+SUBST_FILES.clang= build/make/Makefile
+SUBST_SED.clang= -e 's/-DINLINE_ASM/-DINLINE_ASM -fno-integrated-as/'
. endif
.endif
Home |
Main Index |
Thread Index |
Old Index