Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2014 08:08:28 GMT
From:      Volodymyr Kostyrko <arcade@b1t.name>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187340: databases/memcached - fails to install without DOCS
Message-ID:  <201403070808.s2788SHo074836@cgiserv.freebsd.org>
Resent-Message-ID: <201403070810.s278A181073842@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403070808.s2788SHo074836>