Date: Wed, 9 Apr 2014 07:43:00 GMT From: Alexey Markov <redrat@mail.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/188390: benchmarks/sysbench: Fails to stage if DOCS option is OFF Message-ID: <201404090743.s397h0iY028613@cgiserv.freebsd.org> Resent-Message-ID: <201404090750.s397o148022775@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188390 >Category: ports >Synopsis: benchmarks/sysbench: Fails to stage if DOCS option is OFF >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 09 07:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Alexey Markov >Release: 8.3-RELEASE-p7 >Organization: JSC Complitex >Environment: FreeBSD host.redrat.ru 8.4-RELEASE-p7 FreeBSD 8.4-RELEASE-p7 #0: Fri Mar 7 14:11:34 MSK 2014 redrat@host.redrat.ru:/arc/obj/arc/src/sys/HOST amd64 >Description: Building a benchmarks/sysbench port fails if a DOCS option is OFF because of not considering a stage subdirectory while trying to delete a manual.html file. >How-To-Repeat: Just try to build a benchmarks/sysbench port while a DOCS option is OFF. >Fix: Apply attached patch. Patch attached with submission follows: --- Makefile.orig 2014-03-06 01:17:30.000000000 +0400 +++ Makefile 2014-04-09 11:34:33.000000000 +0400 @@ -47,8 +47,8 @@ .if empty(PORT_OPTIONS:MDOCS) post-install: - ${RM} ${DOCSDIR}/manual.html - ${RMDIR} ${DOCSDIR} + ${RM} ${STAGEDIR}${DOCSDIR}/manual.html + ${RMDIR} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404090743.s397h0iY028613>