svn commit: r565293 - head/devel/electron11
Hiroki Tagato
tagattie at FreeBSD.org
Mon Feb 15 07:56:36 UTC 2021
Author: tagattie
Date: Mon Feb 15 07:56:35 2021
New Revision: 565293
URL: https://svnweb.freebsd.org/changeset/ports/565293
Log:
Fix build with DEBUG option ON
(quarterly 2021Q1 is not affected)
PR: 253481
Reported by: Graham Perrin <grahamperrin at gmail.com>
Modified:
head/devel/electron11/Makefile
Modified: head/devel/electron11/Makefile
==============================================================================
--- head/devel/electron11/Makefile Mon Feb 15 06:13:14 2021 (r565292)
+++ head/devel/electron11/Makefile Mon Feb 15 07:56:35 2021 (r565293)
@@ -107,8 +107,7 @@ ALSA_VARS_OFF= GN_ARGS+=use_alsa=false
CUPS_LIB_DEPENDS= libcups.so:print/cups
CUPS_VARS= GN_ARGS+=use_cups=true
CUPS_VARS_OFF= GN_ARGS+=use_cups=false
-DEBUG_VARS= BUILDTYPE=Debug \
- GN_ARGS+=is_component_build=false
+DEBUG_VARS= BUILDTYPE=Testing
DEBUG_VARS_OFF= BUILDTYPE=Release
DIST_IMPLIES= DRIVER
DRIVER_ALL_TARGET= chromedriver
@@ -238,7 +237,7 @@ do-configure:
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}
- cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn gen out/${BUILDTYPE} \
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/Release/gn gen out/${BUILDTYPE} \
--args='import("//electron/build/args/${BUILDTYPE:tl}.gn") ${GN_ARGS}'
# Setup nodejs dependency
${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd-x64/bin
More information about the svn-ports-all
mailing list