aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2018-06-11 06:44:36 +0000
committerThomas Zander <riggs@FreeBSD.org>2018-06-11 06:44:36 +0000
commit40fee58c1fce2f51644dcfa4c1ca89aaf5e9f365 (patch)
treec92b5c3b8606462d61ae93311253def50c10cafb
parentbeaea4c3270d4b71cab3da0d03d41560aaea1d80 (diff)
downloadports-40fee58c1fce2f51644dcfa4c1ca89aaf5e9f365.tar.gz
ports-40fee58c1fce2f51644dcfa4c1ca89aaf5e9f365.zip
Update to upstream version 2.0.2
PR: 228840 Submitted by: riggs Reviewed by: seanc, freebsd@jen20.com (maintainer) Approved by: freebsd@jen20.com (maintainer, via seanc) Differential Revision: https://reviews.freebsd.org/D15719
Notes
Notes: svn path=/head/; revision=472168
-rw-r--r--databases/cockroach/Makefile11
-rw-r--r--databases/cockroach/distinfo6
2 files changed, 9 insertions, 8 deletions
diff --git a/databases/cockroach/Makefile b/databases/cockroach/Makefile
index d6c6538aee0c..106b3e0bf8ce 100644
--- a/databases/cockroach/Makefile
+++ b/databases/cockroach/Makefile
@@ -2,7 +2,7 @@
PORTNAME= cockroach
DISTVERSIONPREFIX= v
-DISTVERSION= 1.1.5
+DISTVERSION= 2.0.2
CATEGORIES= databases
MASTER_SITES= https://binaries.cockroachdb.com/
EXTRACT_SUFX= .src.tgz
@@ -21,7 +21,7 @@ BUILD_DEPENDS= autoconf:devel/autoconf \
cmake:devel/cmake \
go:lang/go
-USES= gmake
+USES= gmake libedit
USE_RC_SUBR= cockroach
@@ -33,12 +33,13 @@ USERS= cockroach
GROUPS= cockroach
post-patch:
- @${REINPLACE_CMD} -e 's|-DCMAKE_CXX_FLAGS=-DNDEBUG)|-DCMAKE_CXX_FLAGS=-DNDEBUG) -DFAIL_ON_WARNINGS=OFF|g' \
- ${WRKSRC}/src/github.com/cockroachdb/cockroach/build/common.mk
+ @${REINPLACE_CMD} -e 's|LDFLAGS: -ledit|LDFLAGS: -L${LOCALBASE}/lib -ledit|g' \
+ -e 's|CPPFLAGS: -Ishim|CPPFLAGS: -I${LOCALBASE}/include -Ishim|g' \
+ ${WRKSRC}/src/github.com/cockroachdb/cockroach/vendor/github.com/knz/go-libedit/unix/editline_unix.go
do-build:
@${SETENV} -i PATH="${PATH}" \
- ${MAKE_CMD} -C ${WRKSRC} buildoss GOVERS=.*
+ ${MAKE_CMD} -C ${WRKSRC} buildoss
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/cockroachdb/cockroach/cockroach ${STAGEDIR}${PREFIX}/bin/
diff --git a/databases/cockroach/distinfo b/databases/cockroach/distinfo
index c53c6cf8158a..4dcadec25f64 100644
--- a/databases/cockroach/distinfo
+++ b/databases/cockroach/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1519854541
-SHA256 (cockroach-v1.1.5.src.tgz) = 4da8746971329840531bc9512e9a5ad44a5587d7ee2ad8d2f321124180795444
-SIZE (cockroach-v1.1.5.src.tgz) = 79650058
+TIMESTAMP = 1528529382
+SHA256 (cockroach-v2.0.2.src.tgz) = ee0e68ce9c74b8b1157e4c5d470b140960a5a281a70460c82bd79258a18e7d2b
+SIZE (cockroach-v2.0.2.src.tgz) = 45521739