diff options
author | beat <beat@FreeBSD.org> | 2014-02-05 13:23:30 +0800 |
---|---|---|
committer | beat <beat@FreeBSD.org> | 2014-02-05 13:23:30 +0800 |
commit | 47feb5f7f68d9beda81ed4f613c8c70cc8f25c86 (patch) | |
tree | b277d5f598acbc239e4973dbc730714727d6b844 /Mk/bsd.gecko.mk | |
parent | 81af36b6d10312c47056b18a9ba59c56aeb9c38e (diff) | |
download | freebsd-ports-gnome-47feb5f7f68d9beda81ed4f613c8c70cc8f25c86.tar.gz freebsd-ports-gnome-47feb5f7f68d9beda81ed4f613c8c70cc8f25c86.tar.zst freebsd-ports-gnome-47feb5f7f68d9beda81ed4f613c8c70cc8f25c86.zip |
- Update Firefox to 27.0
- Update Firefox ESR to 24.3.0
- Update Thunderbird to 24.3.0
- Update NSPR to 4.10.3
- Update NSS to 3.15.4
- Depend on yasm when building with bundled libvpx or libjpeg-turbo
- Prepare gstreamer conditional for upcoming Firefox versions
- Improve jemalloc3 conditional
- Break build unless alsa-lib port installs new config file
- Chase USE_DOS2UNIX deprecation
- Temporarily disable system cairo over screen corruption with
smoothScroll [1]
Submitted by: Jan Beich
Reported by: flo [1]
Security: http://www.vuxml.org/freebsd/1753f0ff-8dd5-11e3-9b45-b4b52fce4ce8.html
Diffstat (limited to 'Mk/bsd.gecko.mk')
-rw-r--r-- | Mk/bsd.gecko.mk | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk index 05398bde5a3a..04e12c57bb5b 100644 --- a/Mk/bsd.gecko.mk +++ b/Mk/bsd.gecko.mk @@ -176,7 +176,7 @@ Gecko_Pre_Include= bsd.gecko.mk # is given by the maintainer via the port or by the # user via defined variable try to find the highest # stable installed version. -# Available values: yes 24+ 26+ 24 26 +# Available values: yes 24+ 27+ 24 27 # NOTE: # default value 24 is used in case of USE_FIREFOX=yes # @@ -218,11 +218,11 @@ _FIREFOX_BUILD_DEPENDS= yes .endif _FIREFOX_DEFAULT_VERSION= 24 -_FIREFOX_VERSIONS= 24 26 -_FIREFOX_RANGE_VERSIONS= 24+ 26+ +_FIREFOX_VERSIONS= 24 27 +_FIREFOX_RANGE_VERSIONS= 24+ 27+ # For specifying [24, ..]+ -_FIREFOX_26P= 26 ${_FIREFOX_24P} +_FIREFOX_27P= 27 ${_FIREFOX_24P} _FIREFOX_24P= 24 # Set the default Firefox version and check if USE_FIREFOX=yes was given @@ -269,7 +269,7 @@ IGNORE= cannot install: unknown Firefox version: firefox-${USE_FIREFOX:C/([0-9 # Dependence lines for different Firefox versions 24_DEPENDS= ${LOCALBASE}/lib/firefox/firefox:${PORTSDIR}/www/firefox-esr -26_DEPENDS= ${LOCALBASE}/lib/firefox/firefox:${PORTSDIR}/www/firefox +27_DEPENDS= ${LOCALBASE}/lib/firefox/firefox:${PORTSDIR}/www/firefox # Add dependencies .if defined(USE_FIREFOX) @@ -560,12 +560,10 @@ CPP= ${CC} -E USE_GCC?= yes .endif -.if ${OSVERSION} > 1000011 -# use jemalloc 3.0.0 API in libc -MOZ_EXPORT+= MOZ_JEMALLOC=1 MOZ_JEMALLOC3=1 -.else +# use jemalloc 3.0.0 API for stats/tuning +MOZ_EXPORT+= MOZ_JEMALLOC3=1 +.if ${OSVERSION} < 1000012 MOZ_OPTIONS+= --enable-jemalloc -MOZ_EXPORT+= MOZ_JEMALLOC=1 MOZ_JEMALLOC3=1 .endif # Standard depends @@ -589,6 +587,7 @@ hunspell_MOZ_OPTIONS= --enable-system-hunspell icu_LIB_DEPENDS= icui18n:${PORTSDIR}/devel/icu icu_MOZ_OPTIONS= --with-system-icu --with-intl-api --enable-intl-api +-jpeg_BUILD_DEPENDS=yasm:${PORTSDIR}/devel/yasm # XXX: depends on pkgng package flavor support #jpeg_LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/libjpeg-turbo jpeg_LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg @@ -612,6 +611,7 @@ sqlite_LIB_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3 sqlite_MOZ_OPTIONS= --enable-system-sqlite sqlite_EXTRACT_AFTER_ARGS= --exclude mozilla*/db/sqlite3 +-vpx_BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm vpx_LIB_DEPENDS= vpx:${PORTSDIR}/multimedia/libvpx vpx_MOZ_OPTIONS= --with-system-libvpx vpx_EXTRACT_AFTER_ARGS= --exclude mozilla*/media/libvpx @@ -630,6 +630,8 @@ LIB_DEPENDS+= ${${dep}_LIB_DEPENDS} RUN_DEPENDS+= ${${dep}_RUN_DEPENDS} MOZ_OPTIONS+= ${${dep}_MOZ_OPTIONS} EXTRACT_AFTER_ARGS+= ${${dep}_EXTRACT_AFTER_ARGS} +.else +BUILD_DEPENDS+= ${-${dep}_BUILD_DEPENDS} .endif .endfor @@ -700,8 +702,13 @@ MOZ_OPTIONS+= --disable-dbus --disable-libnotify .endif .if ${PORT_OPTIONS:MGSTREAMER} +. if ${MOZILLA_VER:R:R} >= 30 || exists(${FILESDIR}/patch-bug806917) +USE_GSTREAMER1?=good libav +MOZ_OPTIONS+= --enable-gstreamer=1.0 +. else USE_GSTREAMER?= good ffmpeg MOZ_OPTIONS+= --enable-gstreamer +. endif .else MOZ_OPTIONS+= --disable-gstreamer .endif @@ -759,6 +766,8 @@ MOZ_OPTIONS+= --enable-alsa .if ${PORT_OPTIONS:MPULSEAUDIO} LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio MOZ_OPTIONS+= --enable-pulseaudio +.else +MOZ_OPTIONS+= --disable-pulseaudio .endif .if ${PORT_OPTIONS:MDEBUG} |