aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2011-06-20 15:16:31 +0800
committervanilla <vanilla@FreeBSD.org>2011-06-20 15:16:31 +0800
commitb57f12b558f161bfe58cf49c48b3978bc32ff683 (patch)
tree713b01e01c939480b09deb2f1ffe99c2264cfa42
parent83ace48c18779efc9cf8bfec173b31c37201772f (diff)
downloadfreebsd-ports-gnome-b57f12b558f161bfe58cf49c48b3978bc32ff683.tar.gz
freebsd-ports-gnome-b57f12b558f161bfe58cf49c48b3978bc32ff683.tar.zst
freebsd-ports-gnome-b57f12b558f161bfe58cf49c48b3978bc32ff683.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]
-rw-r--r--lang/v8/Makefile19
-rw-r--r--lang/v8/distinfo4
-rw-r--r--lang/v8/files/patch-SConstruct12
-rw-r--r--lang/v8/pkg-plist4
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