diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2018-02-20 06:32:06 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2018-02-20 06:32:06 +0000 |
commit | f1b0de555fcb6db61b6f21cd113d304fcf405d9b (patch) | |
tree | 963ca67971cd7efd7ce025b6183c055a9ba5f2fd /www/chromium | |
parent | 69affa99179731c18806e115354bc0970a6fddc9 (diff) | |
download | ports-f1b0de555fcb6db61b6f21cd113d304fcf405d9b.tar.gz ports-f1b0de555fcb6db61b6f21cd113d304fcf405d9b.zip |
Notes
Diffstat (limited to 'www/chromium')
-rw-r--r-- | www/chromium/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 17ca75be889d..48e87a3c87ce 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -14,8 +14,7 @@ COMMENT?= Google web browser based on WebKit LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi -BUILD_DEPENDS= python:lang/python \ - bash:shells/bash \ +BUILD_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ @@ -69,12 +68,13 @@ ONLY_FOR_ARCHS= aarch64 amd64 i386 .endif .if defined(GN_ONLY) -USES= compiler:c++14-lang ninja pkgconfig python:2,build shebangfix tar:xz +USES= compiler:c++14-lang ninja pkgconfig python:2.7,build shebangfix tar:xz .else USES= bison cpe desktop-file-utils jpeg ninja perl5 pkgconfig \ - python:2,build shebangfix tar:xz + python:2.7,build shebangfix tar:xz .endif MAKE_ARGS= -C out/${BUILDTYPE} +BINARY_ALIAS= python=${PYTHON_CMD} .if !defined(GN_ONLY) CPE_VENDOR= google @@ -231,18 +231,18 @@ pre-configure: # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] - cd ${WRKSRC} && ${PYTHON_CMD} \ + cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ ffmpeg flac harfbuzz-ng libwebp libxml libxslt snappy yasm || ${FALSE} .endif do-configure: # GN generator bootstrapping and generating ninja files - cd ${WRKSRC} && ${SETENV} CC=${CC} CXX=${CXX} LD=${CXX} \ + cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} .if !defined(GN_ONLY) - cd ${WRKSRC} && ${SETENV} ./out/${BUILDTYPE}/gn \ + cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn \ gen --args='${GN_ARGS}' out/${BUILDTYPE} # Setup nodejs dependency |