1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

lang/v8: Set ONLY_FOR_ARCHS

- Cosmetic change
This commit is contained in:
Po-Chuan Hsieh 2022-01-29 07:12:18 +08:00
parent d37c514ca5
commit 682d9c860b
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -13,8 +13,8 @@ DISTFILES= v8-${PORTVERSION}.tar.gz \
googletest-${GOOGLETEST_REV}.tar.gz \
icu-${ICU_REV}.tar.gz \
zlib-${ZLIB_REV}.tar.gz
EXTRACT_ONLY= ${DISTNAME}.tar.gz
DIST_SUBDIR= v8/${PORTVERSION:R:R}
EXTRACT_ONLY= ${DISTNAME}.tar.gz
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Open source JavaScript engine by Google
@ -22,6 +22,8 @@ COMMENT= Open source JavaScript engine by Google
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= aarch64 amd64 i386
BUILD_DEPENDS= binutils>=0:devel/binutils \
gn:devel/gn \
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR}
@ -76,7 +78,7 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -i '' 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/build/toolchain/gcc_toolchain.gni ${WRKSRC}/buildtools/third_party/libc++/BUILD.gn
# https://github.com/klzgrad/naiveproxy/blob/master/src/build/config/gclient_args.gni
${ECHO_CMD} 'checkout_google_benchmark = false' > ${WRKSRC}/build/config/gclient_args.gni
@${ECHO_CMD} 'checkout_google_benchmark = false' > ${WRKSRC}/build/config/gclient_args.gni
# Use ICU from ports and create needed directory
pre-configure: