svn commit: r471559 - head/databases/cayley

Yuri Victorovich yuri at FreeBSD.org
Mon Jun 4 15:37:24 UTC 2018


Author: yuri
Date: Mon Jun  4 15:37:23 2018
New Revision: 471559
URL: https://svnweb.freebsd.org/changeset/ports/471559

Log:
  databases/cayley: Merge pre-build into do-build
  
  Reported by:	mat

Modified:
  head/databases/cayley/Makefile

Modified: head/databases/cayley/Makefile
==============================================================================
--- head/databases/cayley/Makefile	Mon Jun  4 15:31:52 2018	(r471558)
+++ head/databases/cayley/Makefile	Mon Jun  4 15:37:23 2018	(r471559)
@@ -70,10 +70,8 @@ post-patch:
 			s|github.com/olivere/elastic|gopkg.in/olivere/elastic.v5|; \
 			s|gopkg.in/mgo.v2-unstable|gopkg.in/mgo.v2|'
 
-pre-build:
-	@cd ${WRKSRC} && [ -e ${PORTNAME} ] || ${LN} -s . ${PORTNAME}
-
 do-build:
+	@cd ${WRKSRC} && [ -e ${PORTNAME} ] || ${LN} -s . ${PORTNAME}
 	@cd ${WRKSRC}/${GH_SUBDIR} && \
 		${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build \
 			-ldflags="-X github.com/${GH_ACCOUNT}graph/${GH_PROJECT}/version.GitHash=${PORTVERSION}" \


More information about the svn-ports-all mailing list