diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-07 18:34:07 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-07 18:34:07 +0000 |
commit | 281a55555a7d66ba836bf27f7eb1ad250cadafa4 (patch) | |
tree | aee2285517dec3476da0b7107d9ebce773a63698 /lang/njs | |
parent | ffdf5e4fc2c28121e636af8ef16c4715d166e533 (diff) | |
download | ports-281a55555a7d66ba836bf27f7eb1ad250cadafa4.tar.gz ports-281a55555a7d66ba836bf27f7eb1ad250cadafa4.zip |
Notes
Diffstat (limited to 'lang/njs')
-rw-r--r-- | lang/njs/Makefile | 10 | ||||
-rw-r--r-- | lang/njs/files/patch-configure | 11 |
2 files changed, 16 insertions, 5 deletions
diff --git a/lang/njs/Makefile b/lang/njs/Makefile index 24ee902d63c9..e5f5083cc18d 100644 --- a/lang/njs/Makefile +++ b/lang/njs/Makefile @@ -18,16 +18,16 @@ MAINTAINER= thierry@pompo.net GNU_CONFIGURE= yes USE_LIBTOOL= yes +.if defined(NOPORTDOCS) +USE_REINPLACE= yes +.endif INSTALLS_SHLIB= yes CONFIGURE_ARGS= --enable-shared MAN1= js.1 jsdas.1 post-extract: - ${RM} ${WRKSRC}/docs/js.info* - -post-patch: - ${PERL} -pi -e 's:=makeinfo:="makeinfo --no-split":g' ${WRKSRC}/configure + @${RM} ${WRKSRC}/docs/js.info* pre-configure: @if [ -f ${LOCALBASE}/include/js.h ]; then \ @@ -39,7 +39,7 @@ pre-configure: pre-install: .if defined(NOPORTDOCS) - ${PERL} -pi -e "s:docs micros examples:micros:g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e "s:docs micros examples:micros:g" ${WRKSRC}/Makefile .endif post-install: diff --git a/lang/njs/files/patch-configure b/lang/njs/files/patch-configure new file mode 100644 index 000000000000..26e3d8b7f2df --- /dev/null +++ b/lang/njs/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Fri Jan 15 08:39:56 1999 ++++ configure Sun Jul 7 14:04:03 2002 +@@ -791,7 +791,7 @@ + # an executable is not found, even if stderr is redirected. + # Redirect stdin to placate older versions of autoconf. Sigh. + if (makeinfo --version) < /dev/null > /dev/null 2>&1; then +- MAKEINFO=makeinfo ++ MAKEINFO="makeinfo --no-split" + echo "$ac_t""found" 1>&6 + else + MAKEINFO="$missing_dir/missing makeinfo" |