ports/188390: benchmarks/sysbench: Fails to stage if DOCS option is OFF

Alexey Markov redrat at mail.ru
Wed Apr 9 07:50:01 UTC 2014


>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 at 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:


More information about the freebsd-ports-bugs mailing list