Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2019 03:29:40 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510133 - head/www/gitea
Message-ID:  <201908290329.x7T3Te0L021448@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Aug 29 03:29:40 2019
New Revision: 510133
URL: https://svnweb.freebsd.org/changeset/ports/510133

Log:
  www/gitea: Switch to USES=go:modules, fix build with go1.13
  
  PR:		240072
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	portmgr (fix build)

Modified:
  head/www/gitea/Makefile

Modified: head/www/gitea/Makefile
==============================================================================
--- head/www/gitea/Makefile	Thu Aug 29 01:56:50 2019	(r510132)
+++ head/www/gitea/Makefile	Thu Aug 29 03:29:40 2019	(r510133)
@@ -14,13 +14,12 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	git:devel/git
 
-USES=		go
+USES=		go:modules
 USE_GITHUB=	yes
 GH_ACCOUNT=	go-gitea
 USE_RC_SUBR=	gitea
 
-GO_PKGNAME=	code.gitea.io/${PORTNAME}
-GO_TARGET=	-tags "${GO_TAGS}"
+GO_BUILDFLAGS=	-tags "${GO_TAGS}"
 
 SUB_FILES+=	app.ini.sample
 SUB_LIST+=	GITUSER=${USERS}



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