svn commit: r331439 - head/security/checkpassword

Alexey Dokuchaev danfe at FreeBSD.org
Mon Oct 28 04:54:06 UTC 2013


On Wed, Oct 23, 2013 at 10:32:40PM +0000, Renato Botelho wrote:
> New Revision: 331439
> URL: http://svnweb.freebsd.org/changeset/ports/331439
> 
> [...] 
> -NO_STAGE=	yes
>  .include <bsd.port.pre.mk>
> [...] 
>  .if ${PORT_OPTIONS:MDOCS}
> -	${MKDIR} ${DOCSDIR}
> +	${MKDIR} ${STAGEDIR}${DOCSDIR}
>  .for f in ${PORTDOCS}
> -	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
> +	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}

Since this port is not actually doing something nasty to build those docs,
you could have simply remove .if ${PORT_OPTIONS:MDOCS} check.  This would
make the Makefile cleaner, and you and even drop .include <bsd.port.pre.mk>
(but don't forget to adjust <bsd.port.post.mk> -> <bsd.port.pre.mk>).

./danfe


More information about the svn-ports-all mailing list