Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2024 15:26:35 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 68f15c5a9868 - 2024Q3 - www/tgpt: Fix Makefile
Message-ID:  <202408061526.476FQZeQ055622@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q3 has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68f15c5a986862dd5c88fdd09d40bb4a72525f5d

commit 68f15c5a986862dd5c88fdd09d40bb4a72525f5d
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2024-08-06 15:15:04 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-06 15:26:30 +0000

    www/tgpt: Fix Makefile
    
    * Fix USES by adding: modules and removing GO_PKGNAME.
    * Remove output argument from GO_BUILDFLAGS as it does nothing.
    
    PR:     280660
    MFH:    2024Q3
    (cherry picked from commit 00cf029670f1536cd94ad8eaa0c86f183b51285e)
---
 www/tgpt/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/www/tgpt/Makefile b/www/tgpt/Makefile
index cb5808cbd1ca..8a9b07a49136 100644
--- a/www/tgpt/Makefile
+++ b/www/tgpt/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	tgpt
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.8.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	www
 
 MAINTAINER=	nxjoseph@protonmail.com
@@ -11,7 +11,7 @@ WWW=		https://github.com/aandrew-me/tgpt
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go:1.22
+USES=		go:1.22,modules
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	aandrew-me
@@ -54,8 +54,7 @@ GH_TUPLE=	andybalholm:brotli:v1.0.5:andybalholm_brotli/vendor/github.com/andybal
 		stretchr:testify:v1.8.4:stretchr_testify/vendor/github.com/stretchr/testify \
 		tam7t:hpkp:2b70b4024ed5:tam7t_hpkp/vendor/github.com/tam7t/hpkp
 
-GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
-GO_BUILDFLAGS=	-ldflags="-s -w" -o ./build/tgpt
+GO_BUILDFLAGS=	-ldflags="-s -w"
 
 PLIST_FILES=	bin/tgpt
 



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