Index: head/databases/cockroach/Makefile =================================================================== --- head/databases/cockroach/Makefile +++ head/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 @@ cmake:devel/cmake \ go:lang/go -USES= gmake +USES= gmake libedit USE_RC_SUBR= cockroach @@ -33,12 +33,13 @@ 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/ Index: head/databases/cockroach/distinfo =================================================================== --- head/databases/cockroach/distinfo +++ head/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