summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2007-10-21 17:53:28 +0000
committernox <nox@FreeBSD.org>2007-10-21 17:53:28 +0000
commit5d5c9e8604b161022a2665eaceca26e2ce0bf5a1 (patch)
treeb21f28de216730b43658820697f9743cbdbeba72
parent6645d03fa7bb1520ce27a5692ca469c384b3059e (diff)
downloadFreeBSD-ports-5d5c9e8604b161022a2665eaceca26e2ce0bf5a1.zip
FreeBSD-ports-5d5c9e8604b161022a2665eaceca26e2ce0bf5a1.tar.gz
Fix build
-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