Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2018 06:44:36 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472168 - head/databases/cockroach
Message-ID:  <201806110644.w5B6iafV052619@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Mon Jun 11 06:44:36 2018
New Revision: 472168
URL: https://svnweb.freebsd.org/changeset/ports/472168

Log:
  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

Modified:
  head/databases/cockroach/Makefile
  head/databases/cockroach/distinfo

Modified: head/databases/cockroach/Makefile
==============================================================================
--- head/databases/cockroach/Makefile	Mon Jun 11 06:32:32 2018	(r472167)
+++ head/databases/cockroach/Makefile	Mon Jun 11 06:44:36 2018	(r472168)
@@ -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/

Modified: head/databases/cockroach/distinfo
==============================================================================
--- head/databases/cockroach/distinfo	Mon Jun 11 06:32:32 2018	(r472167)
+++ head/databases/cockroach/distinfo	Mon Jun 11 06:44:36 2018	(r472168)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806110644.w5B6iafV052619>