Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2019 19:38:22 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510834 - head/textproc/up
Message-ID:  <201909021938.x82JcMAo085665@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Mon Sep  2 19:38:22 2019
New Revision: 510834
URL: https://svnweb.freebsd.org/changeset/ports/510834

Log:
  textproc/up: Switch to USES=go:modules, fix build with go1.13
  
  PR:		240281
  Submitted by:	Dmitri Goutnik <dg@syrec.org>

Modified:
  head/textproc/up/Makefile

Modified: head/textproc/up/Makefile
==============================================================================
--- head/textproc/up/Makefile	Mon Sep  2 19:21:44 2019	(r510833)
+++ head/textproc/up/Makefile	Mon Sep  2 19:38:22 2019	(r510834)
@@ -11,26 +11,22 @@ COMMENT=	Ultimate plumber, a tool for writing pipes wi
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=	go
+USES=		go:modules
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	akavel
-GH_TUPLE=	gdamore:encoding:b23993cbb635:encoding/src/github.com/gdamore/encoding \
-		gdamore:tcell:493f3b46b3c2:tcell/src/github.com/gdamore/tcell \
-		lucasb-eyer:go-colorful:231272389856:gocolorful/src/github.com/lucasb-eyer/go-colorful \
-		mattn:go-isatty:v0.0.3:goisatty/src/github.com/mattn/go-isatty \
-		mattn:go-runewidth:v0.0.2:gorunewidth/src/github.com/mattn/go-runewidth \
-		spf13:pflag:v1.0.3:pflag/src/github.com/spf13/pflag \
-		golang:text:f21a4dfb5e38:text/src/golang.org/x/text
+GH_TUPLE=	gdamore:encoding:b23993cbb635:encoding/vendor/github.com/gdamore/encoding \
+		gdamore:tcell:493f3b46b3c2:tcell/vendor/github.com/gdamore/tcell \
+		lucasb-eyer:go-colorful:231272389856:gocolorful/vendor/github.com/lucasb-eyer/go-colorful \
+		mattn:go-isatty:v0.0.3:goisatty/vendor/github.com/mattn/go-isatty \
+		mattn:go-runewidth:v0.0.2:gorunewidth/vendor/github.com/mattn/go-runewidth \
+		spf13:pflag:v1.0.3:pflag/vendor/github.com/spf13/pflag \
+		golang:text:f21a4dfb5e38:text/vendor/golang.org/x/text
 
 PLIST_FILES=	bin/up
 PORTDOCS=	README.md
 
 OPTIONS_DEFINE=	DOCS
-
-post-extract:
-	@${LN} -sf ${WRKSRC}/src ${WRKDIR}
-	@${LN} -sf ${WRKSRC} ${GO_WRKSRC}
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}



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