databases/cayley: Merge pre-build into do-build
Reported by: mat
This commit is contained in:
parent
a7f0cdea95
commit
bdd54b9424
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=471559
1 changed files with 1 additions and 3 deletions
|
@ -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}" \
|
||||
|
|
Loading…
Reference in a new issue