summaryrefslogtreecommitdiff
path: root/lang/v8-devel
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-08-13 09:06:37 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-08-13 09:06:37 +0000
commitacf225b1a08edbd0592989c4e27d2723b793870c (patch)
tree7cf2bddb515cc1775705bd9eb5cdc8811c405bbd /lang/v8-devel
parent- Add CPE information (diff)
- Add CPE information
Notes
Notes: svn path=/head/; revision=364766
Diffstat (limited to 'lang/v8-devel')
-rw-r--r--lang/v8-devel/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/v8-devel/Makefile b/lang/v8-devel/Makefile
index cca9a9a948ea..11ec855abbbf 100644
--- a/lang/v8-devel/Makefile
+++ b/lang/v8-devel/Makefile
@@ -23,7 +23,9 @@ MAKE_ARGS= library=shared use_system_icu=on
MAKE_ENV= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
USE_LDCONFIG= yes
USE_PYTHON= 2
-USES= compiler execinfo gmake shebangfix tar:xz
+USES= compiler cpe execinfo gmake shebangfix tar:xz
+
+CPE_VENDOR= google
SHEBANG_FILES= ${WRKSRC}/build/gyp/gyp
bash_CMD= ${SH}
@@ -31,9 +33,9 @@ bash_CMD= ${SH}
.include <bsd.port.pre.mk>
.if ${COMPILER_TYPE} == clang
-MAKE_ENV+= LINK=clang++ AR=/usr/bin/ar
-MAKE_ARGS+= clang=on
CFLAGS+= -Wno-unused-private-field -Wno-unused-variable
+MAKE_ARGS+= clang=on
+MAKE_ENV+= LINK=clang++ AR=/usr/bin/ar
.if ${COMPILER_VERSION} >= 33
CFLAGS+= -Wno-nested-anon-types -Wno-unused-function
.endif