svn commit: r510133 - head/www/gitea

Yuri Victorovich yuri at FreeBSD.org
Thu Aug 29 03:29:41 UTC 2019


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 at 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}


More information about the svn-ports-head mailing list