aboutsummaryrefslogtreecommitdiff
path: root/databases/cayley
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-06-04 15:37:23 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-06-04 15:37:23 +0000
commitbdd54b942463df7e83b2397ff7da02af094ccd5d (patch)
tree7224f8f52c6e26cb4da555021e57a9e791c7c415 /databases/cayley
parenta7f0cdea95a2adc18d158971e5caa5e367e09e03 (diff)
downloadports-bdd54b942463df7e83b2397ff7da02af094ccd5d.tar.gz
ports-bdd54b942463df7e83b2397ff7da02af094ccd5d.zip
databases/cayley: Merge pre-build into do-build
Reported by: mat
Notes
Notes: svn path=/head/; revision=471559
Diffstat (limited to 'databases/cayley')
-rw-r--r--databases/cayley/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/databases/cayley/Makefile b/databases/cayley/Makefile
index b9c9151fcd9d..db0307863936 100644
--- a/databases/cayley/Makefile
+++ b/databases/cayley/Makefile
@@ -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}" \