summaryrefslogtreecommitdiff
path: root/www/firefox
diff options
context:
space:
mode:
authormartin <martin>2013-08-29 14:14:34 +0000
committermartin <martin>2013-08-29 14:14:34 +0000
commit87d01ec2b4bf083d6926a408180e26fc7a110926 (patch)
treed413d88d7f88be3595e4098472b7bb2df8674136 /www/firefox
parent1cf85434cfa9d586ca76b4d9c196b7f8780396ca (diff)
downloadpkgsrc-87d01ec2b4bf083d6926a408180e26fc7a110926.tar.gz
Skia does not support GL on big endian machines yet - so adjust PLIST
by conditionalizing it.
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/PLIST4
-rw-r--r--www/firefox/mozilla-common.mk9
2 files changed, 9 insertions, 4 deletions
diff --git a/www/firefox/PLIST b/www/firefox/PLIST
index 4c2b5e885d1..0af99386688 100644
--- a/www/firefox/PLIST
+++ b/www/firefox/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.68 2013/08/07 12:17:54 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.69 2013/08/29 14:14:34 martin Exp $
bin/firefox
include/firefox/AbstractMediaDecoder.h
include/firefox/AccEvent.h
@@ -58,7 +58,7 @@ include/firefox/FramePropertyTable.h
include/firefox/GLContext.h
include/firefox/GLContextProvider.h
include/firefox/GLContextProviderImpl.h
-include/firefox/GLContextSkia.h
+${PLIST.glskia}include/firefox/GLContextSkia.h
include/firefox/GLContextSymbols.h
include/firefox/GLContextTypes.h
include/firefox/GLDefs.h
diff --git a/www/firefox/mozilla-common.mk b/www/firefox/mozilla-common.mk
index f13805a367a..cb90556af23 100644
--- a/www/firefox/mozilla-common.mk
+++ b/www/firefox/mozilla-common.mk
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.11 2013/08/25 01:41:08 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.12 2013/08/29 14:14:34 martin Exp $
#
# common Makefile fragment for mozilla packages based on gecko 2.0.
#
@@ -13,6 +13,7 @@ USE_LANGUAGES+= c99 c++
UNLIMIT_RESOURCES+= datasize
.include "../../mk/bsd.prefs.mk"
+.include "../../mk/endian.mk"
# gcc45-4.5.3 of lang/gcc45 does not generate proper binary,
# but gcc 4.5.4 of NetBSD 7 generates working binary.
.if !empty(MACHINE_PLATFORM:MNetBSD-5.*)
@@ -97,7 +98,11 @@ SUBST_MESSAGE.python= Fixing path to python.
SUBST_FILES.python+= media/webrtc/trunk/build/common.gypi
SUBST_SED.python+= -e 's,<!(python,<!(${PYTHONBIN},'
-PLIST_VARS+= sps vorbis tremor
+PLIST_VARS+= sps vorbis tremor glskia
+
+.if ${MACHINE_ENDIAN} == "1234"
+PLIST.glskia= yes
+.endif
.if !empty(MACHINE_PLATFORM:S/i386/x86/:MLinux-*-x86*)
PLIST.sps= yes