pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/firefox Mark libmozavcodec.so and libmozavutil.so ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8f9c892dab7
branches:  trunk
changeset: 355610:d8f9c892dab7
user:      martin <martin%pkgsrc.org@localhost>
date:      Tue Dec 06 08:14:22 2016 +0000

description:
Mark libmozavcodec.so and libmozavutil.so as x86-only

diffstat:

 www/firefox/PLIST             |  6 +++---
 www/firefox/mozilla-common.mk |  8 ++++++--
 2 files changed, 9 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r c2bf3c3303f5 -r d8f9c892dab7 www/firefox/PLIST
--- a/www/firefox/PLIST Tue Dec 06 00:34:35 2016 +0000
+++ b/www/firefox/PLIST Tue Dec 06 08:14:22 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.112 2016/12/03 09:58:25 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.113 2016/12/06 08:14:22 martin Exp $
 bin/firefox
 lib/firefox/application.ini
 lib/firefox/browser/blocklist.xml
@@ -3419,8 +3419,8 @@
 lib/firefox/hyphenation/hyph_tr.dic
 lib/firefox/hyphenation/hyph_uk.dic
 lib/firefox/liblgpllibs.so
-lib/firefox/libmozavcodec.so
-lib/firefox/libmozavutil.so
+${PLIST.avx86}lib/firefox/libmozavcodec.so
+${PLIST.avx86}lib/firefox/libmozavutil.so
 lib/firefox/libmozsqlite3.so
 lib/firefox/libxul.so
 lib/firefox/modules/AboutReader.jsm
diff -r c2bf3c3303f5 -r d8f9c892dab7 www/firefox/mozilla-common.mk
--- a/www/firefox/mozilla-common.mk     Tue Dec 06 00:34:35 2016 +0000
+++ b/www/firefox/mozilla-common.mk     Tue Dec 06 08:14:22 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.83 2016/09/20 20:01:41 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.84 2016/12/06 08:14:22 martin Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -108,13 +108,17 @@
 CONFIGURE_DIRS=                ${OBJDIR}
 CONFIGURE_SCRIPT=      ${WRKSRC}/configure
 
-PLIST_VARS+=   sps vorbis tremor glskia throwwrapper mozglue
+PLIST_VARS+=   sps vorbis tremor glskia throwwrapper mozglue avx86
 
 .include "../../mk/endian.mk"
 .if ${MACHINE_ENDIAN} == "little"
 PLIST.glskia=  yes
 .endif
 
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+PLIST.avx86=   yes     # see media/libav/README_MOZILLA: only used on x86
+.endif
+
 .if ${MACHINE_ARCH} != "sparc64"
 # For some reasons the configure test for GCC bug 26905 still triggers on
 # sparc64, which makes mozilla skip the installation of a few wrapper headers.



Home | Main Index | Thread Index | Old Index