Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 09:22:54 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349321 - in head/lang: v8 v8-devel
Message-ID:  <201403270922.s2R9Msgm094318@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403270922.s2R9Msgm094318>