summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/v8-devel/Makefile6
-rw-r--r--lang/v8/Makefile8
2 files changed, 9 insertions, 5 deletions
diff --git a/lang/v8-devel/Makefile b/lang/v8-devel/Makefile
index 3690105651a8..7ebad47c3f40 100644
--- a/lang/v8-devel/Makefile
+++ b/lang/v8-devel/Makefile
@@ -19,9 +19,8 @@ LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
CONFLICTS= v8-3.19.*
-USES= gmake shebangfix compiler
+USES= gmake shebangfix compiler tar:xz
SHEBANG_FILES= ${WRKSRC}/build/gyp/gyp
-USE_XZ= yes
USE_PYTHON= 2
USE_LDCONFIG= yes
ALL_TARGET= native
@@ -38,6 +37,9 @@ CFLAGS+= -Wno-unused-private-field -Wno-unused-variable
.if ${COMPILER_VERSION} >= 33
CFLAGS+= -Wno-nested-anon-types -Wno-unused-function
.endif
+.if ${COMPILER_VERSION} >= 34
+CFLAGS+= -Wno-unused-const-variable
+.endif
.else
MAKE_ARGS+= strictaliasing=off
USE_GCC= any
diff --git a/lang/v8/Makefile b/lang/v8/Makefile
index afa50296e0f9..c69c31516372 100644
--- a/lang/v8/Makefile
+++ b/lang/v8/Makefile
@@ -12,12 +12,11 @@ COMMENT= Google\'s open source JavaScript engine
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
-LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
+LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
CONFLICTS= v8-3.24.*
-USES= gmake compiler
-USE_XZ= yes
+USES= gmake compiler tar:xz
USE_PYTHON= 2
USE_LDCONFIG= yes
ALL_TARGET= native
@@ -31,6 +30,9 @@ MAKE_ENV+= LINK=clang++
CFLAGS+= -Wno-unused-private-field
.if ${COMPILER_VERSION} >= 33
CFLAGS+= -Wno-nested-anon-types -Wno-unused-function
+.if ${COMPILER_VERSION} >= 34
+CFLAGS+= -Wno-unused-const-variable
+.endif
.endif
.else
MAKE_ARGS+= strictaliasing=off