Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2019 13:36:30 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r494403 - head/textproc/gron
Message-ID:  <201903021336.x22DaUFY083595@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Sat Mar  2 13:36:30 2019
New Revision: 494403
URL: https://svnweb.freebsd.org/changeset/ports/494403

Log:
  - Define gronversion at build time
  - Bump PORTREVISION
  
  Submitted by:	Dmitri Goutnik <dg@syrec.org>

Modified:
  head/textproc/gron/Makefile

Modified: head/textproc/gron/Makefile
==============================================================================
--- head/textproc/gron/Makefile	Sat Mar  2 13:17:44 2019	(r494402)
+++ head/textproc/gron/Makefile	Sat Mar  2 13:36:30 2019	(r494403)
@@ -3,6 +3,7 @@
 
 PORTNAME=	gron
 PORTVERSION=	0.6.0
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	textproc
 
@@ -19,6 +20,7 @@ GH_TUPLE=	fatih:color:v1.7.0:color \
 		mattn:go-isatty:v0.0.6:isatty \
 		nwidger:jsoncolor:75a6de4:jsoncolor \
 		pkg:errors:v0.8.1:pkg_errors
+GO_BUILDFLAGS=	-ldflags="-X main.gronVersion=${PORTVERSION}"
 
 PLIST_FILES=	bin/${PORTNAME}
 



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