diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2007-07-04 16:56:23 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2007-07-04 16:56:23 +0000 |
commit | bb862a825176d4e855bfa2f5f5d60ed310952174 (patch) | |
tree | 3df8fa8b462dcf1ff07d5cf4b98119b4703252f0 /lang | |
parent | 9f2a2b8efcd8e0214f804adbdfb5e1bb271a5f77 (diff) | |
download | ports-bb862a825176d4e855bfa2f5f5d60ed310952174.tar.gz ports-bb862a825176d4e855bfa2f5f5d60ed310952174.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/njs/Makefile | 33 | ||||
-rw-r--r-- | lang/njs/files/pkg-message.in | 5 |
2 files changed, 12 insertions, 26 deletions
diff --git a/lang/njs/Makefile b/lang/njs/Makefile index 83cade30eba0..00414ae6e2a7 100644 --- a/lang/njs/Makefile +++ b/lang/njs/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: njs -# Date created: Fri Jan 11 20:45:26 GMT 2002 -# Whom: thierry@pompo.net +# New ports collection makefile for: NJS +# Date created: Fri Jan 11 20:45:26 GMT 2002 +# Whom: Thierry Thomas <thierry@pompo.net> # # $FreeBSD$ # @@ -22,29 +22,20 @@ USE_LDCONFIG= yes USE_AUTOTOOLS= libtool:15 CONFIGURE_ARGS= --enable-shared -SUB_FILES= pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message - -MAN1= js.1 jsdas.1 -INFO= js - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 700042 -BROKEN= Broken with gcc 4.2 -.endif +MAN1= js.1 jsdas.1 +INFO= js post-extract: @${RM} ${WRKSRC}/docs/js.info* +# Fix for GCC 4.2 + @${REINPLACE_CMD} -E \ + 's,(\(unsigned char \*\) )(ptr \+=),\2 sizeof\1*,' \ + ${WRKSRC}/src/iostream.c pre-install: .if defined(NOPORTDOCS) - @${REINPLACE_CMD} -e "s:docs micros examples:micros:g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s:docs micros examples:micros:g" \ + ${WRKSRC}/Makefile .endif -post-install: - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/lang/njs/files/pkg-message.in b/lang/njs/files/pkg-message.in deleted file mode 100644 index 25b08b319886..000000000000 --- a/lang/njs/files/pkg-message.in +++ /dev/null @@ -1,5 +0,0 @@ -***************************************************************************** - - js & jsdas have been installed in %%PREFIX%%/bin. - -***************************************************************************** |