summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/njs/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/lang/njs/Makefile b/lang/njs/Makefile
index 5ae8020..8115d2b 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>
OpenPOWER on IntegriCloud