pkgsrc-WIP-changes archive

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

terraform: Fix a copypasto and adjust PLIST for TERRAFORM_PROVIDER_REGISTRY too



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Mar 28 01:36:44 2021 +0100
Changeset:	043e9dd39ab8f22c5d09488ae3d697b3762956a8

Modified Files:
	terraform/provider.mk

Log Message:
terraform: Fix a copypasto and adjust PLIST for TERRAFORM_PROVIDER_REGISTRY too

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

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

diffstat:
 terraform/provider.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diffs:
diff --git a/terraform/provider.mk b/terraform/provider.mk
index e2298ef418..cac713f8fd 100644
--- a/terraform/provider.mk
+++ b/terraform/provider.mk
@@ -27,11 +27,13 @@ DEPENDS+=	${TERRAFORM_PACKAGE_DEP}
 
 TERRAFORM_PROVIDER_REGISTRY?=	registry.terraform.io
 TERRAFORM_PROVIDER_VERSION?=	${PKGVERSION_NOREV}
-TERRAFORM_PROVIDER_DIR?=	share/terraform/plugins/${TERRFORM_PROVIDER_REGISTRY}/${TERRAFORM_PROVIDER_NAME}/${TERRAFORM_PROVIDER_VERSION}/${GO_PLATFORM}
+TERRAFORM_PROVIDER_DIR?=	share/terraform/plugins/${TERRAFORM_PROVIDER_REGISTRY}/${TERRAFORM_PROVIDER_NAME}/${TERRAFORM_PROVIDER_VERSION}/${GO_PLATFORM}
 
+PLIST_SUBST+=		TERRAFORM_PROVIDER_REGISTRY=${TERRAFORM_PROVIDER_REGISTRY}
 PLIST_SUBST+=		TERRAFORM_PROVIDER_NAME=${TERRAFORM_PROVIDER_NAME}
 PLIST_SUBST+=		TERRAFORM_PROVIDER_VERSION=${TERRAFORM_PROVIDER_VERSION}
 
+PRINT_PLIST_AWK+=	{ sub("${TERRAFORM_PROVIDER_REGISTRY}", "$${TERRAFORM_PROVIDER_REGISTRY}") }
 PRINT_PLIST_AWK+=	{ sub("${TERRAFORM_PROVIDER_NAME}", "$${TERRAFORM_PROVIDER_NAME}") }
 PRINT_PLIST_AWK+=	{ sub("${TERRAFORM_PROVIDER_VERSION}", "$${TERRAFORM_PROVIDER_VERSION}") }
 


Home | Main Index | Thread Index | Old Index