svn commit: r417375 - head/sysutils/nomad

Kris Moore kmoore at FreeBSD.org
Thu Jun 23 13:23:14 UTC 2016


Author: kmoore
Date: Thu Jun 23 13:23:13 2016
New Revision: 417375
URL: https://svnweb.freebsd.org/changeset/ports/417375

Log:
  - Fix a compile-time warning and future compat with
    newer versions of GO
  
  PR: 210456
  Submitted by: John Hixson <jhixson at gmail.com>

Modified:
  head/sysutils/nomad/Makefile

Modified: head/sysutils/nomad/Makefile
==============================================================================
--- head/sysutils/nomad/Makefile	Thu Jun 23 13:19:17 2016	(r417374)
+++ head/sysutils/nomad/Makefile	Thu Jun 23 13:23:13 2016	(r417375)
@@ -66,7 +66,7 @@ post-patch:
 do-build:
 	@cd ${WRKSRC}/src/github.com/hashicorp/nomad; \
 	${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \
-		-ldflags "-X main.GitDescribe v${PORTVERSION}" -o bin/nomad
+		-ldflags "-X main.GitDescribe=v${PORTVERSION}" -o bin/nomad
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/hashicorp/nomad/bin/nomad ${STAGEDIR}${PREFIX}/bin/nomad


More information about the svn-ports-head mailing list