MFH: r476675

www/chromium: minor fix in pkg-message

%%DATADIR%% is not being expanded in pkg-message, and it shows up like this:

--II--
Chromium has a known problem of hanging tabs. The workaround
for this problem is to mount ~/.cache/chromium as memory-fs.
In order to do this, before you run Chromium, please run the
following script as root once for each user who uses Chromium
(replace {user}/{group} with your user/group names):

# %%DATADIR%%/fix-hanging-tabs.sh {user} {group}

- Add DATADIR to SUB_LIST to correctly be replaced with its value and move pkg-message to FILESDIR.
- Bump PORTREVISION

Reported by:	olgeni via mail

Approved by:	ports-secteam (blanket)
This commit is contained in:
Carlos J. Puga Medina 2018-08-08 20:31:45 +00:00
parent eda128cfc4
commit 88a06b3a04
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q3/; revision=476676
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= chromium
PORTVERSION= 68.0.3440.84
PORTREVISION= 1
CATEGORIES?= www
MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
@ -133,8 +134,8 @@ GN_ARGS+= google_api_key="AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8" \
google_default_client_secret="IR1za9-1VK0zZ0f_O8MVFicn"
.if !defined(GN_ONLY)
SUB_FILES= chromium-browser.desktop chrome
SUB_LIST+= COMMENT="${COMMENT}"
SUB_FILES= chromium-browser.desktop chrome pkg-message
SUB_LIST+= COMMENT="${COMMENT}" DATADIR="${DATADIR}"
OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS TEST
CODECS_DESC= Compile and enable patented codecs like H.264