Skia does not support GL on big endian machines yet - so adjust PLIST by conditionalizing it.diff -r1.68 -r1.69 pkgsrc/www/firefox/PLIST
(martin)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.68 2013/08/07 12:17:54 ryoon Exp $ | 1 | @comment $NetBSD: PLIST,v 1.69 2013/08/29 14:14:34 martin Exp $ | |
2 | bin/firefox | 2 | bin/firefox | |
3 | include/firefox/AbstractMediaDecoder.h | 3 | include/firefox/AbstractMediaDecoder.h | |
4 | include/firefox/AccEvent.h | 4 | include/firefox/AccEvent.h | |
5 | include/firefox/AnimationCommon.h | 5 | include/firefox/AnimationCommon.h | |
6 | include/firefox/AudioAvailableEventManager.h | 6 | include/firefox/AudioAvailableEventManager.h | |
7 | include/firefox/AudioChannelAgent.h | 7 | include/firefox/AudioChannelAgent.h | |
8 | include/firefox/AudioChannelCommon.h | 8 | include/firefox/AudioChannelCommon.h | |
9 | include/firefox/AudioChannelFormat.h | 9 | include/firefox/AudioChannelFormat.h | |
10 | include/firefox/AudioChannelService.h | 10 | include/firefox/AudioChannelService.h | |
11 | include/firefox/AudioChannelServiceChild.h | 11 | include/firefox/AudioChannelServiceChild.h | |
12 | include/firefox/AudioEventTimeline.h | 12 | include/firefox/AudioEventTimeline.h | |
13 | include/firefox/AudioNodeEngine.h | 13 | include/firefox/AudioNodeEngine.h | |
14 | include/firefox/AudioNodeStream.h | 14 | include/firefox/AudioNodeStream.h | |
@@ -48,27 +48,27 @@ include/firefox/DisplayItemClip.h | @@ -48,27 +48,27 @@ include/firefox/DisplayItemClip.h | |||
48 | include/firefox/DisplayListClipState.h | 48 | include/firefox/DisplayListClipState.h | |
49 | include/firefox/ErrorList.h | 49 | include/firefox/ErrorList.h | |
50 | include/firefox/ErrorListCDefines.h | 50 | include/firefox/ErrorListCDefines.h | |
51 | include/firefox/ErrorListCxxDefines.h | 51 | include/firefox/ErrorListCxxDefines.h | |
52 | include/firefox/EventTracer.h | 52 | include/firefox/EventTracer.h | |
53 | include/firefox/FileBlockCache.h | 53 | include/firefox/FileBlockCache.h | |
54 | include/firefox/ForceDiscreteGPUHelperCGL.h | 54 | include/firefox/ForceDiscreteGPUHelperCGL.h | |
55 | include/firefox/FrameLayerBuilder.h | 55 | include/firefox/FrameLayerBuilder.h | |
56 | include/firefox/FrameMetrics.h | 56 | include/firefox/FrameMetrics.h | |
57 | include/firefox/FramePropertyTable.h | 57 | include/firefox/FramePropertyTable.h | |
58 | include/firefox/GLContext.h | 58 | include/firefox/GLContext.h | |
59 | include/firefox/GLContextProvider.h | 59 | include/firefox/GLContextProvider.h | |
60 | include/firefox/GLContextProviderImpl.h | 60 | include/firefox/GLContextProviderImpl.h | |
61 | include/firefox/GLContextSkia.h | 61 | ${PLIST.glskia}include/firefox/GLContextSkia.h | |
62 | include/firefox/GLContextSymbols.h | 62 | include/firefox/GLContextSymbols.h | |
63 | include/firefox/GLContextTypes.h | 63 | include/firefox/GLContextTypes.h | |
64 | include/firefox/GLDefs.h | 64 | include/firefox/GLDefs.h | |
65 | include/firefox/GLLibraryEGL.h | 65 | include/firefox/GLLibraryEGL.h | |
66 | include/firefox/GLLibraryLoader.h | 66 | include/firefox/GLLibraryLoader.h | |
67 | include/firefox/GLScreenBuffer.h | 67 | include/firefox/GLScreenBuffer.h | |
68 | include/firefox/GLTextureImage.h | 68 | include/firefox/GLTextureImage.h | |
69 | include/firefox/GLXLibrary.h | 69 | include/firefox/GLXLibrary.h | |
70 | include/firefox/GeckoProfiler.h | 70 | include/firefox/GeckoProfiler.h | |
71 | include/firefox/GeneratedEvents.h | 71 | include/firefox/GeneratedEvents.h | |
72 | include/firefox/GfxInfoCollector.h | 72 | include/firefox/GfxInfoCollector.h | |
73 | include/firefox/GonkCameraControl.h | 73 | include/firefox/GonkCameraControl.h | |
74 | include/firefox/GonkIOSurfaceImage.h | 74 | include/firefox/GonkIOSurfaceImage.h |
@@ -1,28 +1,29 @@ | @@ -1,28 +1,29 @@ | |||
1 | # $NetBSD: mozilla-common.mk,v 1.11 2013/08/25 01:41:08 ryoon Exp $ | 1 | # $NetBSD: mozilla-common.mk,v 1.12 2013/08/29 14:14:34 martin Exp $ | |
2 | # | 2 | # | |
3 | # common Makefile fragment for mozilla packages based on gecko 2.0. | 3 | # common Makefile fragment for mozilla packages based on gecko 2.0. | |
4 | # | 4 | # | |
5 | # used by devel/xulrunner/Makefile | 5 | # used by devel/xulrunner/Makefile | |
6 | # used by mail/thunderbird/Makefile | 6 | # used by mail/thunderbird/Makefile | |
7 | # used by www/firefox/Makefile | 7 | # used by www/firefox/Makefile | |
8 | # used by www/seamonkey/Makefile | 8 | # used by www/seamonkey/Makefile | |
9 | 9 | |||
10 | GNU_CONFIGURE= yes | 10 | GNU_CONFIGURE= yes | |
11 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip | 11 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip | |
12 | USE_LANGUAGES+= c99 c++ | 12 | USE_LANGUAGES+= c99 c++ | |
13 | UNLIMIT_RESOURCES+= datasize | 13 | UNLIMIT_RESOURCES+= datasize | |
14 | 14 | |||
15 | .include "../../mk/bsd.prefs.mk" | 15 | .include "../../mk/bsd.prefs.mk" | |
16 | .include "../../mk/endian.mk" | |||
16 | # gcc45-4.5.3 of lang/gcc45 does not generate proper binary, | 17 | # gcc45-4.5.3 of lang/gcc45 does not generate proper binary, | |
17 | # but gcc 4.5.4 of NetBSD 7 generates working binary. | 18 | # but gcc 4.5.4 of NetBSD 7 generates working binary. | |
18 | .if !empty(MACHINE_PLATFORM:MNetBSD-5.*) | 19 | .if !empty(MACHINE_PLATFORM:MNetBSD-5.*) | |
19 | GCC_REQD+= 4.6 | 20 | GCC_REQD+= 4.6 | |
20 | . if ${MACHINE_ARCH} == "i386" | 21 | . if ${MACHINE_ARCH} == "i386" | |
21 | # Fix for PR pkg/48152. | 22 | # Fix for PR pkg/48152. | |
22 | CPPFLAGS+= -march=i486 | 23 | CPPFLAGS+= -march=i486 | |
23 | . endif | 24 | . endif | |
24 | .else | 25 | .else | |
25 | GCC_REQD+= 4.5 | 26 | GCC_REQD+= 4.5 | |
26 | .endif | 27 | .endif | |
27 | 28 | |||
28 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/libpkix/libpkix.sh | 29 | CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/libpkix/libpkix.sh | |
@@ -87,27 +88,31 @@ CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}/js | @@ -87,27 +88,31 @@ CONFIG_SUB_OVERRIDE+= ${MOZILLA_DIR}/js | |||
87 | 88 | |||
88 | PYTHON_FOR_BUILD_ONLY= yes | 89 | PYTHON_FOR_BUILD_ONLY= yes | |
89 | .include "../../lang/python/application.mk" | 90 | .include "../../lang/python/application.mk" | |
90 | CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} | 91 | CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} | |
91 | 92 | |||
92 | #BUILD_MAKE_FLAGS+= MOZ_WEBRTC_IN_LIBXUL=1 | 93 | #BUILD_MAKE_FLAGS+= MOZ_WEBRTC_IN_LIBXUL=1 | |
93 | 94 | |||
94 | SUBST_CLASSES+= python | 95 | SUBST_CLASSES+= python | |
95 | SUBST_STAGE.python= pre-configure | 96 | SUBST_STAGE.python= pre-configure | |
96 | SUBST_MESSAGE.python= Fixing path to python. | 97 | SUBST_MESSAGE.python= Fixing path to python. | |
97 | SUBST_FILES.python+= media/webrtc/trunk/build/common.gypi | 98 | SUBST_FILES.python+= media/webrtc/trunk/build/common.gypi | |
98 | SUBST_SED.python+= -e 's,<!(python,<!(${PYTHONBIN},' | 99 | SUBST_SED.python+= -e 's,<!(python,<!(${PYTHONBIN},' | |
99 | 100 | |||
100 | PLIST_VARS+= sps vorbis tremor | 101 | PLIST_VARS+= sps vorbis tremor glskia | |
102 | ||||
103 | .if ${MACHINE_ENDIAN} == "1234" | |||
104 | PLIST.glskia= yes | |||
105 | .endif | |||
101 | 106 | |||
102 | .if !empty(MACHINE_PLATFORM:S/i386/x86/:MLinux-*-x86*) | 107 | .if !empty(MACHINE_PLATFORM:S/i386/x86/:MLinux-*-x86*) | |
103 | PLIST.sps= yes | 108 | PLIST.sps= yes | |
104 | .endif | 109 | .endif | |
105 | 110 | |||
106 | .if !empty(MACHINE_PLATFORM:MLinux-*-arm*) || ${OPSYS} == "DragonFly" \ | 111 | .if !empty(MACHINE_PLATFORM:MLinux-*-arm*) || ${OPSYS} == "DragonFly" \ | |
107 | || ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" | 112 | || ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" | |
108 | PLIST.tremor= yes | 113 | PLIST.tremor= yes | |
109 | .else | 114 | .else | |
110 | PLIST.vorbis= yes | 115 | PLIST.vorbis= yes | |
111 | .endif | 116 | .endif | |
112 | 117 | |||
113 | # | 118 | # |