summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2007-10-21 17:53:28 +0000
committerJuergen Lock <nox@FreeBSD.org>2007-10-21 17:53:28 +0000
commit8f337840392e867aed2be31836ecb7a22d0a87f9 (patch)
tree81d59fada5d56470b9f252617e8fbd332d359040 /lang
parent- Update to version 1.4.2. (diff)
Fix build
Notes
Notes: svn path=/head/; revision=201730
Diffstat (limited to 'lang')
-rw-r--r--lang/njs/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/lang/njs/Makefile b/lang/njs/Makefile
index 5ae802004919..8115d2b94213 100644
--- a/lang/njs/Makefile
+++ b/lang/njs/Makefile
@@ -16,8 +16,6 @@ DISTNAME= js-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= NJS (NGS) is a standalone JavaScript/ECMAScript interpreter
-BROKEN= does not build
-
CONFLICTS= js-1.5.*
USE_LDCONFIG= yes
@@ -31,7 +29,7 @@ post-extract:
@${RM} ${WRKSRC}/docs/js.info*
# Fix for GCC 4.2
@${REINPLACE_CMD} -E \
- 's,(\(unsigned char \*\) )(ptr \+=),\2 sizeof\1*,' \
+ 's,\((unsigned char) \*\) (ptr \+=),\2 sizeof(\1) *,' \
${WRKSRC}/src/iostream.c
.include <bsd.port.mk>