Date: Thu, 1 Mar 2007 09:52:20 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/109704: [net/rrdtool] fix install with NOPORTDOCS=yes Message-ID: <20070301015220.B7AF21701D@sunpoet.net> Resent-Message-ID: <200703010220.l212K470065286@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 109704 >Category: ports >Synopsis: [net/rrdtool] fix install with NOPORTDOCS=yes >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 01 02:20:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 6.2-STABLE i386 >Organization: SUNPOET.net >Environment: System: FreeBSD IRIS.sunpoet.net 6.2-STABLE FreeBSD 6.2-STABLE #1: Mon Feb 12 03:43:56 CST 2007 sunpoet@IRIS.sunpoet.net:/usr/obj/usr/src/sys/sunpoet i386 >Description: Fix build with NOPORTDOCS=yes. >How-To-Repeat: % cd /usr/ports/net/rrdtool % make NOPORTDOCS=yes install ... gmake install-data-hook gmake[3]: Entering directory `/usr/ports/works/usr/ports/net/rrdtool/work/rrdtool-1.2.19/doc' cd /usr/local/share/doc/rrdtool/html && rm -f index.html && ln -s rrdtool.html index.html cd: can't cd to /usr/local/share/doc/rrdtool/html gmake[3]: *** [install-data-hook] Error 2 gmake[3]: Leaving directory `/usr/ports/works/usr/ports/net/rrdtool/work/rrdtool-1.2.19/doc' gmake[2]: *** [install-data-am] Error 2 gmake[2]: Leaving directory `/usr/ports/works/usr/ports/net/rrdtool/work/rrdtool-1.2.19/doc' gmake[1]: *** [install-am] Error 2 gmake[1]: Leaving directory `/usr/ports/works/usr/ports/net/rrdtool/work/rrdtool-1.2.19/doc' gmake: *** [install-recursive] Error 1 *** Error code 2 Stop in /usr/ports/net/rrdtool. >Fix: --- /usr/ports/net/rrdtool/Makefile.orig Fri Feb 9 17:54:54 2007 +++ /usr/ports/net/rrdtool/Makefile Thu Mar 1 09:50:06 2007 @@ -57,6 +57,7 @@ post-extract: .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's/install-idocDATA install-ihtmlDATA//g' \ + -e 's/^ cd .* rrdtool.html index.html/ #/' \ ${WRKSRC}/doc/Makefile.in .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070301015220.B7AF21701D>