diff options
Diffstat (limited to 'www/chromium/Makefile')
-rw-r--r-- | www/chromium/Makefile | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 2c9c9b3..68246ac 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= chromium -PORTVERSION= 57.0.2987.133 +PORTVERSION= 58.0.3029.81 CATEGORIES= www MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # default, but needed to get distinfo correct if TEST is on @@ -20,6 +20,7 @@ BUILD_DEPENDS= gperf:devel/gperf \ ffmpeg>=3.2.2,1:multimedia/ffmpeg \ bash:shells/bash \ flock:sysutils/flock \ + node:www/node \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${LOCALBASE}/share/usbids/usb.ids:misc/usbids \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 \ @@ -88,7 +89,8 @@ GN_ARGS+= is_clang=true \ toolkit_views=true \ use_allocator="none" \ use_aura=true \ - use_experimental_allocator_shim=true \ + use_cups=true \ + use_experimental_allocator_shim=false \ treat_warnings_as_errors=false \ use_sysroot=false \ use_system_libjpeg=true \ @@ -196,16 +198,10 @@ MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ # TODO: move this big extra to small ones EXTRA_PATCHES+= ${FILESDIR}/extra-patch-clang -.if ${OPSYS} == FreeBSD -.if ${OSVERSION} < 1100000 -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-10 -.endif - # Work around base r261801 -.if ${OSVERSION} < 1100508 +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100508 GN_ARGS+= extra_cxxflags="-D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1" .endif -.endif pre-everything:: @${ECHO_MSG} @@ -217,9 +213,6 @@ pre-everything:: @${ECHO_MSG} "and a fair amount of free diskspace (~ 3.7GB)." .endif @${ECHO_MSG} - @${ECHO_MSG} "Make sure you have Python build with the SEM option ON" - @${ECHO_MSG} "(default in python27-2.7.8 since r361735)" - @${ECHO_MSG} pre-configure: # We used to remove bundled libraries to be sure that chromium uses @@ -238,6 +231,10 @@ do-configure: cd ${WRKSRC} && ${SETENV} ./out/${BUILDTYPE}/gn \ gen --args='${GN_ARGS}' out/${BUILDTYPE} + # Setup nodejs dependency + @${MKDIR} ${WRKSRC}/third_party/node/linux/node-linux-x64/bin + ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/linux/node-linux-x64/bin/node + test regression-test: build .for t in ${TEST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && ${SETENV} LC_ALL=en_US.UTF-8 \ |