svn commit: r349321 - in head/lang: v8 v8-devel

Vanilla I. Shu vanilla at FreeBSD.org
Thu Mar 27 09:22:55 UTC 2014


Author: vanilla
Date: Thu Mar 27 09:22:54 2014
New Revision: 349321
URL: http://svnweb.freebsd.org/changeset/ports/349321
QAT: https://qat.redports.org/buildarchive/r349321/

Log:
  1: fix build with clang34.
  2: convert to new style of LIB_DEPENDS.
  3: switch to tar:xz
  
  Submitted by:	lev@ [1]

Modified:
  head/lang/v8-devel/Makefile
  head/lang/v8/Makefile

Modified: head/lang/v8-devel/Makefile
==============================================================================
--- head/lang/v8-devel/Makefile	Thu Mar 27 08:15:58 2014	(r349320)
+++ head/lang/v8-devel/Makefile	Thu Mar 27 09:22:54 2014	(r349321)
@@ -19,9 +19,8 @@ LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/
 
 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-
 .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

Modified: head/lang/v8/Makefile
==============================================================================
--- head/lang/v8/Makefile	Thu Mar 27 08:15:58 2014	(r349320)
+++ head/lang/v8/Makefile	Thu Mar 27 09:22:54 2014	(r349321)
@@ -12,12 +12,11 @@ COMMENT=	Google\'s open source JavaScrip
 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


More information about the svn-ports-all mailing list