svn commit: r340073 - head/graphics/gphoto2

Alexey Dokuchaev danfe at FreeBSD.org
Fri Jan 17 18:54:51 UTC 2014


On Fri, Jan 17, 2014 at 04:56:15PM +0000, Martin Wilke wrote:
> New Revision: 340073
> URL: http://svnweb.freebsd.org/changeset/ports/340073
> QAT: https://qat.redports.org/buildarchive/r340073/

(The following goes more to Kato and their ports sweatshop rather than
to Martin; just picking one commit of many.)

> -USES=		gmake pkgconfig
>  USE_BZIP2=	yes
> +USES=		gmake pkgconfig

This change is 1) gratuitous; 2) goes against most common practice of
placing USES above other USE_* knobs; 3) destroys my work of r322593.

> +post-patch:
> +	@${REINPLACE_CMD} -e \
> +		's|-lpthread|-pthread|' \
> +		${WRKSRC}/configure

This REINPLACE_CMD statement perfectly fits one 80-char line, why break
it up?

>  post-install:
> -	${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
> +	(cd ${WRKSRC} && ${INSTALL_DATA} NEWS ${STAGEDIR}${DOCSDIR})

Gratuitous; two commands instead of one; longer and less readable.  Why?

./danfe


More information about the svn-ports-all mailing list