ports/187340: databases/memcached - fails to install without DOCS
Volodymyr Kostyrko
arcade at b1t.name
Fri Mar 7 08:10:01 UTC 2014
>Number: 187340
>Category: ports
>Synopsis: databases/memcached - fails to install without DOCS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 07 08:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Volodymyr Kostyrko
>Release: ^/stable/10
>Organization:
none
>Environment:
FreeBSD faz.tandem.local 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r261208: Mon Jan 27 16:38:16 EET 2014 arcade at faz.tandem.local:/usr/obj/usr/src/sys/MINIMAL amd64
>Description:
Installation fails when trying to install docs as they are not generated:
Index: Makefile
===================================================================
--- Makefile (revision 347328)
+++ Makefile (working copy)
@@ -65,16 +65,20 @@
post-patch:
@${REINPLACE_CMD} -e "s,-levent,-levent-2.0,g" ${WRKSRC}/configure
+.if ${PORT_OPTIONS:MDOCS}
post-configure:
@${REINPLACE_CMD} -e 's#doc/memcached.1##' ${WRKSRC}/Makefile
+.endif
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/memcached-tool ${STAGEDIR}${PREFIX}/bin
+.if ${PORT_OPTIONS:MDOCS}
${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
.endfor
+.endif
regression-test: test
test: build
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list