svn commit: r313707 - in head/lang/v8: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Sat Mar 9 11:45:27 UTC 2013
Author: vanilla
Date: Sat Mar 9 11:45:26 2013
New Revision: 313707
URL: http://svnweb.freebsd.org/changeset/ports/313707
Log:
1: upgrade to 3.17.9.
2: add '-Wno-unused-private-field' to CFLAGS when use clang.
Added:
head/lang/v8/files/
head/lang/v8/files/patch-Makefile (contents, props changed)
head/lang/v8/files/patch-build__all.gyp (contents, props changed)
Modified:
head/lang/v8/Makefile
head/lang/v8/distinfo
Modified: head/lang/v8/Makefile
==============================================================================
--- head/lang/v8/Makefile Sat Mar 9 11:30:29 2013 (r313706)
+++ head/lang/v8/Makefile Sat Mar 9 11:45:26 2013 (r313707)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= v8
-PORTVERSION= 3.15.10
+PORTVERSION= 3.17.9
PORTREVISION= 0
CATEGORIES= lang
MASTER_SITES= LOCAL/vanilla
@@ -13,17 +13,17 @@ COMMENT= Google\'s open source JavaScrip
LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
USE_GMAKE= yes
-USE_PYTHON= 2.7+
USE_XZ= yes
+USE_PYTHON= 2.6+
USE_LDCONFIG= yes
ALL_TARGET= native
-
MAKE_ARGS= library=shared
.include <bsd.port.pre.mk>
.if ${CC:T:Mclang} == "clang" || ${CXX:T:Mclang++} == "clang++" || ${OSVERSION} >= 1000024
MAKE_ENV+= LINK=clang++
+CFLAGS+= -Wno-unused-private-field
.else
MAKE_ARGS+= strictaliasing=off
USE_GCC= any
@@ -31,6 +31,10 @@ USE_GCC= any
ONLY_FOR_ARCHS= i386 amd64
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+ ${WRKSRC}/build/common.gypi ${WRKSRC}/tools/gyp/v8.gyp
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/out/native/d8 ${PREFIX}/bin/d8
${INSTALL_LIB} -m 755 ${WRKSRC}/out/native/lib.target/libv8.so ${PREFIX}/lib/libv8.so.1
Modified: head/lang/v8/distinfo
==============================================================================
--- head/lang/v8/distinfo Sat Mar 9 11:30:29 2013 (r313706)
+++ head/lang/v8/distinfo Sat Mar 9 11:45:26 2013 (r313707)
@@ -1,2 +1,2 @@
-SHA256 (v8-3.15.10.tar.xz) = f1a5a4cdcfa65b5153ddf4eebebdba47bae506d47e62522fc71d8d0fb420e297
-SIZE (v8-3.15.10.tar.xz) = 8610276
+SHA256 (v8-3.17.9.tar.xz) = 780695f8bd079a74bd85146bb2e75c20e8aa2ff41b7b0cabfaae513aec8b87bd
+SIZE (v8-3.17.9.tar.xz) = 8670852
Added: head/lang/v8/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/v8/files/patch-Makefile Sat Mar 9 11:45:26 2013 (r313707)
@@ -0,0 +1,11 @@
+--- Makefile.orig 2013-02-28 18:57:04.000000000 +0800
++++ Makefile 2013-02-28 18:57:12.000000000 +0800
+@@ -153,7 +153,7 @@ ANDROID_ARCHES = android_ia32 android_ar
+ # List of files that trigger Makefile regeneration:
+ GYPFILES = build/all.gyp build/common.gypi build/standalone.gypi \
+ preparser/preparser.gyp samples/samples.gyp src/d8.gyp \
+- test/cctest/cctest.gyp tools/gyp/v8.gyp
++ tools/gyp/v8.gyp
+
+ # Generates all combinations of ARCHES and MODES, e.g. "ia32.release".
+ BUILDS = $(foreach mode,$(MODES),$(addsuffix .$(mode),$(ARCHES)))
Added: head/lang/v8/files/patch-build__all.gyp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/v8/files/patch-build__all.gyp Sat Mar 9 11:45:26 2013 (r313707)
@@ -0,0 +1,10 @@
+--- build/all.gyp.orig 2013-02-28 19:01:51.000000000 +0800
++++ build/all.gyp 2013-02-28 19:02:00.000000000 +0800
+@@ -11,7 +11,6 @@
+ '../preparser/preparser.gyp:*',
+ '../samples/samples.gyp:*',
+ '../src/d8.gyp:d8',
+- '../test/cctest/cctest.gyp:*',
+ ],
+ }
+ ]
More information about the svn-ports-all
mailing list