diff options
author | vanilla <vanilla@FreeBSD.org> | 2013-03-09 19:45:26 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2013-03-09 19:45:26 +0800 |
commit | 907ca55353e78abe45c36d67d7002883077ae9e4 (patch) | |
tree | a4ee8648dfacdca53e2aa74619f4a84468308d47 /lang/v8 | |
parent | c8a913f1d6b3522808906756f14bd3ce276f4272 (diff) | |
download | freebsd-ports-gnome-907ca55353e78abe45c36d67d7002883077ae9e4.tar.gz freebsd-ports-gnome-907ca55353e78abe45c36d67d7002883077ae9e4.tar.zst freebsd-ports-gnome-907ca55353e78abe45c36d67d7002883077ae9e4.zip |
1: upgrade to 3.17.9.
2: add '-Wno-unused-private-field' to CFLAGS when use clang.
Diffstat (limited to 'lang/v8')
-rw-r--r-- | lang/v8/Makefile | 10 | ||||
-rw-r--r-- | lang/v8/distinfo | 4 | ||||
-rw-r--r-- | lang/v8/files/patch-Makefile | 11 | ||||
-rw-r--r-- | lang/v8/files/patch-build__all.gyp | 10 |
4 files changed, 30 insertions, 5 deletions
diff --git a/lang/v8/Makefile b/lang/v8/Makefile index 97c2ec5c94bf..93831efcffda 100644 --- a/lang/v8/Makefile +++ b/lang/v8/Makefile @@ -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 JavaScript engine 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 diff --git a/lang/v8/distinfo b/lang/v8/distinfo index accaf09a3b2e..9a1f34a4022d 100644 --- a/lang/v8/distinfo +++ b/lang/v8/distinfo @@ -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 diff --git a/lang/v8/files/patch-Makefile b/lang/v8/files/patch-Makefile new file mode 100644 index 000000000000..dbc6951af0d0 --- /dev/null +++ b/lang/v8/files/patch-Makefile @@ -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))) diff --git a/lang/v8/files/patch-build__all.gyp b/lang/v8/files/patch-build__all.gyp new file mode 100644 index 000000000000..765d5dc4287b --- /dev/null +++ b/lang/v8/files/patch-build__all.gyp @@ -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:*', + ], + } + ] |