1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

gecko: drop MOZ_* variables controlling defaults

This commit is contained in:
Jan Beich 2019-07-04 11:40:41 +00:00
parent 5c3a510f7c
commit e94016c23b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505830

View File

@ -51,12 +51,6 @@ Gecko_Pre_Include= bsd.gecko.mk
# to .mozconfig). If NOMOZCONFIG is defined, you
# probably want to set MAKE_ENV+=${MOZ_EXPORT}
#
# MOZ_CHROME A variable for the --enable-chrome-format= in
# CONFIGURE_ARGS. The default is omni.
#
# MOZ_TOOLKIT A variable for the --enable-default-toolkit= in
# CONFIGURE_ARGS. The default is cairo-gtk3.
#
# NOMOZCONFIG Don't drop a customized .mozconfig into the build
# directory. Options will have to be specified in
# CONFIGURE_ARGS instead
@ -209,16 +203,11 @@ BUILD_DEPENDS+= ${-${dep}_BUILD_DEPENDS}
.endfor
# Standard options
MOZ_CHROME?= omni
MOZ_TOOLKIT?= cairo-gtk3
MOZ_CHANNEL?= ${PKGNAMESUFFIX:Urelease:S/^-//}
MOZ_OPTIONS+= \
--enable-chrome-format=${MOZ_CHROME} \
--enable-default-toolkit=${MOZ_TOOLKIT} \
--enable-update-channel=${MOZ_CHANNEL} \
--disable-updater
# others
MOZ_OPTIONS+= --with-system-zlib \
--enable-default-toolkit=cairo-gtk3${PORT_OPTIONS:MWAYLAND:tl:C/.+/-&/} \
--enable-update-channel=${PKGNAMESUFFIX:Urelease:S/^-//} \
--disable-updater \
--with-system-zlib \
--with-system-bz2
# API keys from www/chromium
@ -228,10 +217,6 @@ MOZ_OPTIONS+= --with-system-zlib \
MOZ_EXPORT+= MOZ_GOOGLE_LOCATION_SERVICE_API_KEY=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8
MOZ_EXPORT+= MOZ_GOOGLE_SAFEBROWSING_API_KEY=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8
.if ${PORT_OPTIONS:MWAYLAND}
MOZ_TOOLKIT= cairo-gtk3-wayland
.endif
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
CFLAGS+= -O3
MOZ_EXPORT+= MOZ_OPTIMIZE_FLAGS="${CFLAGS:M-O*}"