1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix build

This commit is contained in:
Juergen Lock 2007-10-21 17:53:28 +00:00
parent d6c500a87f
commit 8f33784039
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201730

View File

@ -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>