diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2011-06-20 07:16:31 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2011-06-20 07:16:31 +0000 |
commit | 80c75c68ce3105c2d5c3dfd2005b866a2562826f (patch) | |
tree | 90000384b50ed11f4b3b1a06e2b345bce27b6963 | |
parent | 95579009cd2e85451632b24df26519b8b9744812 (diff) | |
download | ports-80c75c68ce3105c2d5c3dfd2005b866a2562826f.tar.gz ports-80c75c68ce3105c2d5c3dfd2005b866a2562826f.zip |
1: Upgrade to 3.4.4
2: install shared library by default.
3: resolv undefined symbol.
PR: ports/157875
Submitted by: Brett Kiefer <brett at fogcreek.com>, L Campbell <lcampbell at ironclad.mobi> [3]
Notes
Notes:
svn path=/head/; revision=275877
-rw-r--r-- | lang/v8/Makefile | 19 | ||||
-rw-r--r-- | lang/v8/distinfo | 4 | ||||
-rw-r--r-- | lang/v8/files/patch-SConstruct | 12 | ||||
-rw-r--r-- | lang/v8/pkg-plist | 4 |
4 files changed, 26 insertions, 13 deletions
diff --git a/lang/v8/Makefile b/lang/v8/Makefile index 359985e63de8..d287775cccf1 100644 --- a/lang/v8/Makefile +++ b/lang/v8/Makefile @@ -6,7 +6,8 @@ # PORTNAME= v8 -PORTVERSION= 3.4.1 +PORTVERSION= 3.4.4 +PORTREVISION= 0 CATEGORIES= lang MASTER_SITES= http://github.com/${PORTNAME}/${PORTNAME}/tarball/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTNAME}-${PORTVERSION}-${GITVERSION} @@ -16,16 +17,18 @@ COMMENT= Google\'s open source JavaScript engine LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo -GITVERSION= 0-g064fc53 +GITVERSION= 0-gf985a1d FETCH_ARGS= -pRr WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-${GITVERSION:S/^0-g//} USE_SCONS= yes +USE_LDCONFIG= yes OPTIONS= DEBUG "Build in debug mode" Off \ SNAPSHOT "Enable snapshots" Off .include <bsd.port.options.mk> -SCONS_ARGS= +SCONS_ARGS= visibility=default + .if defined(WITHOUT_DEBUG) SCONS_ARGS+= mode=release .else @@ -54,15 +57,17 @@ do-build: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${SCONS_BUILDENV} ${SCONS_BIN} ${SCONS_ENV} ${_MAKE_JOBS} \ ${SCONS_ARGS} library=static ${SCONS_TARGET} -.if defined(WITH_SHARED) @cd ${BUILD_WRKSRC} && \ ${SETENV} ${SCONS_BUILDENV} ${SCONS_BIN} ${SCONS_ENV} ${_MAKE_JOBS} \ ${SCONS_ARGS} library=shared ${SCONS_TARGET} -.endif do-install: - ${INSTALL_DATA} -m 755 ${WRKSRC}/libv8.a ${PREFIX}/lib - ${INSTALL_DATA} -m 755 ${WRKSRC}/libv8preparser.a ${PREFIX}/lib + ${INSTALL_LIB} -m 755 ${WRKSRC}/libv8.a ${PREFIX}/lib/libv8.a + ${INSTALL_LIB} -m 755 ${WRKSRC}/libv8.so ${PREFIX}/lib/libv8.so.1 + ${INSTALL_LIB} -m 755 ${WRKSRC}/libv8preparser.a ${PREFIX}/lib/libv8preparser.a + ${INSTALL_LIB} -m 755 ${WRKSRC}/libv8preparser.so ${PREFIX}/lib/libv8preparser.so.1 + ${LN} -sf ${PREFIX}/lib/libv8.so.1 ${PREFIX}/lib/libv8.so + ${LN} -sf ${PREFIX}/lib/libv8preparser.so.1 ${PREFIX}/lib/libv8preparser.so ${INSTALL_DATA} ${WRKSRC}/include/v8.h ${PREFIX}/include/ ${INSTALL_DATA} ${WRKSRC}/include/v8-debug.h ${PREFIX}/include/ ${INSTALL_DATA} ${WRKSRC}/include/v8-preparser.h ${PREFIX}/include/ diff --git a/lang/v8/distinfo b/lang/v8/distinfo index 2e0c8df0d546..b498fb6718e9 100644 --- a/lang/v8/distinfo +++ b/lang/v8/distinfo @@ -1,2 +1,2 @@ -SHA256 (v8-v8-3.4.1-0-g064fc53.tar.gz) = 5dac63c4820f661b1b990077b6b5bba1b85979c48408121fd4253df0e025f9de -SIZE (v8-v8-3.4.1-0-g064fc53.tar.gz) = 10708971 +SHA256 (v8-v8-3.4.4-0-gf985a1d.tar.gz) = 181ca28251eaabb3025850847f21945ab61223b3647fb96612662c35b71ac0fe +SIZE (v8-v8-3.4.4-0-gf985a1d.tar.gz) = 10703974 diff --git a/lang/v8/files/patch-SConstruct b/lang/v8/files/patch-SConstruct index 6bfab1f2a528..9c6c172c0bed 100644 --- a/lang/v8/files/patch-SConstruct +++ b/lang/v8/files/patch-SConstruct @@ -1,6 +1,6 @@ ---- SConstruct.orig 2011-04-06 19:17:46.000000000 +0800 -+++ SConstruct 2011-05-12 20:48:13.000000000 +0800 -@@ -178,7 +178,7 @@ LIBRARY_FLAGS = { +--- SConstruct.orig 2011-06-01 14:00:58.000000000 +0800 ++++ SConstruct 2011-06-16 09:56:00.000000000 +0800 +@@ -120,10 +120,10 @@ LIBRARY_FLAGS = { } }, 'os:freebsd': { @@ -8,4 +8,8 @@ + 'CPPPATH' : [join(root_dir, 'src'), '/usr/local/include'], 'LIBPATH' : ['/usr/local/lib'], 'CCFLAGS': ['-ansi'], - 'LIBS': ['execinfo'] +- 'LIBS': ['execinfo'] ++ 'LIBS': ['pthread', 'execinfo'] + }, + 'os:openbsd': { + 'CPPPATH' : ['/usr/local/include'], diff --git a/lang/v8/pkg-plist b/lang/v8/pkg-plist index 436a1f65ff44..02259f1443af 100644 --- a/lang/v8/pkg-plist +++ b/lang/v8/pkg-plist @@ -5,4 +5,8 @@ include/v8-profiler.h include/v8-testing.h include/v8stdint.h lib/libv8.a +lib/libv8.so +lib/libv8.so.1 lib/libv8preparser.a +lib/libv8preparser.so +lib/libv8preparser.so.1 |