svn commit: r315990 - head/devel/gjstest

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Apr 17 17:06:34 UTC 2013


Author: sunpoet
Date: Wed Apr 17 17:06:33 2013
New Revision: 315990
URL: http://svnweb.freebsd.org/changeset/ports/315990

Log:
  - Update to latest snapshot (20130304) and unbreak this port
  - Bump PORTREVISION for distfile change
  
  Changes:	https://code.google.com/p/google-js-test/source/list
  Feature safe:	yes

Modified:
  head/devel/gjstest/Makefile
  head/devel/gjstest/distinfo

Modified: head/devel/gjstest/Makefile
==============================================================================
--- head/devel/gjstest/Makefile	Wed Apr 17 17:03:09 2013	(r315989)
+++ head/devel/gjstest/Makefile	Wed Apr 17 17:06:33 2013	(r315990)
@@ -3,9 +3,11 @@
 
 PORTNAME=	gjstest
 PORTVERSION=	1.0.8
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
-MASTER_SITES=	GOOGLE_CODE
+MASTER_SITES=	GOOGLE_CODE \
+		LOCAL/sunpoet
+DISTNAME=	${PORTNAME}-${PORTVERSION}.${SNAPSHOT}
 
 MAINTAINER=	sunpoet at FreeBSD.org
 COMMENT=	Lightweight JS unit testing using the V8 engine
@@ -26,17 +28,17 @@ CXXFLAGS+=	-L${LOCALBASE}/lib
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 
-BROKEN=		fails to build
-
 PROJECTHOST=	google-js-test
+SNAPSHOT=	20130304
 
 post-patch:
-	@${REINPLACE_CMD} -e '/export PREFIX = / s|/usr/local|${PREFIX}|' \
-		${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e 's|CLOCK_PROCESS_CPUTIME_ID|CLOCK_PROF|' \
-		${WRKSRC}/base/timer.cc
-	@${REINPLACE_CMD} -e '1 s|/bin/bash|${LOCALBASE}/bin/bash|' \
-		${WRKSRC}/gjstest/internal/cpp/generate_builtin_paths.sh \
-		${WRKSRC}/scripts/*.sh
+	@${REINPLACE_CMD} \
+		-e 's|\(Get\)\(PointerFromInternalField\)|\1Aligned\2|' \
+		-e 's|\(Set\)\(PointerInInternalField\)|\1Aligned\2|' \
+		${WRKSRC}/gjstest/internal/cpp/typed_arrays.cc
+	@${REINPLACE_CMD} -e '/export PREFIX = / s|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|CLOCK_PROCESS_CPUTIME_ID|CLOCK_PROF|' ${WRKSRC}/base/timer.cc
+	@${REINPLACE_CMD} -e '1 s|/bin/bash|${LOCALBASE}/bin/bash|' ${WRKSRC}/gjstest/internal/cpp/generate_builtin_paths.sh ${WRKSRC}/scripts/*.sh
+	@${REINPLACE_CMD} -e 's|^g++ |${CXX} |' ${WRKSRC}/scripts/cc_binary_build.sh
 
 .include <bsd.port.mk>

Modified: head/devel/gjstest/distinfo
==============================================================================
--- head/devel/gjstest/distinfo	Wed Apr 17 17:03:09 2013	(r315989)
+++ head/devel/gjstest/distinfo	Wed Apr 17 17:06:33 2013	(r315990)
@@ -1,2 +1,2 @@
-SHA256 (gjstest-1.0.8.tar.bz2) = ed9539c82fc7af1569825fea74a1f9bf667e956623f8d99ddebcea9e68e9c53d
-SIZE (gjstest-1.0.8.tar.bz2) = 179261
+SHA256 (gjstest-1.0.8.20130304.tar.bz2) = 8a39417e2b0f076d231ce5839a7a11956e7cc800ca63e040b67c5cc8b5ca4ee4
+SIZE (gjstest-1.0.8.20130304.tar.bz2) = 168087


More information about the svn-ports-all mailing list