svn commit: r471528 - in head/databases: . cayley

Mathieu Arnold mat at FreeBSD.org
Mon Jun 4 14:50:41 UTC 2018


On Mon, Jun 04, 2018 at 02:29:20AM +0000, Yuri Victorovich wrote:
> +pre-build:
> +	@cd ${WRKSRC} && [ -e ${PORTNAME} ] || ${LN} -s . ${PORTNAME}
> +
> +do-build:
> +	@cd ${WRKSRC}/${GH_SUBDIR} && \
> +		${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build \
> +			-ldflags="-X github.com/${GH_ACCOUNT}graph/${GH_PROJECT}/version.GitHash=${PORTVERSION}" \
> +			-o ${PORTNAME}x \
> +			-v ./cmd/cayley

It does not make much sense to define both pre-build and do-build, put
everything in do-build.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20180604/175d8339/attachment.sig>


More information about the svn-ports-all mailing list