pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

opentofu*: Avoid copypasting PKGNAME



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Thu Feb 26 10:58:05 2026 +0100
Changeset:	c59c9fbdefab9ddb6c123f36b2b563ad0ac0376a

Modified Files:
	opentofu110/Makefile

Log Message:
opentofu*: Avoid copypasting PKGNAME

Just add the suffix based on DISTNAME via :S// so we spell the full
version number only once.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c59c9fbdefab9ddb6c123f36b2b563ad0ac0376a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 opentofu110/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/opentofu110/Makefile b/opentofu110/Makefile
index 7a70b46807..a080e1fe87 100644
--- a/opentofu110/Makefile
+++ b/opentofu110/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.16 2021/01/27 13:35:58 leot Exp $
 
 DISTNAME=	opentofu-1.10.6
-PKGNAME=	opentofu110-1.10.6
+PKGNAME=	${DISTNAME:S/opentofu/&110/}
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_GITHUB:=opentofu/}
 GITHUB_PROJECT=	opentofu


Home | Main Index | Thread Index | Old Index