pkgsrc-WIP-changes archive

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

terraform: Add a TODO regarding re-introducing do-install:



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Mar 28 20:38:49 2021 +0200
Changeset:	21d41f4089b353d6f4b3156c50778f2b5d35938e

Modified Files:
	terraform/provider.mk

Log Message:
terraform: Add a TODO regarding re-introducing do-install:

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

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

diffstat:
 terraform/provider.mk | 9 +++++++++
 1 file changed, 9 insertions(+)

diffs:
diff --git a/terraform/provider.mk b/terraform/provider.mk
index cf27b8a0c8..93dd3cf6e6 100644
--- a/terraform/provider.mk
+++ b/terraform/provider.mk
@@ -36,3 +36,12 @@ PRINT_PLIST_AWK+=	{ sub("${TERRAFORM_PROVIDER_HOSTNAME}", "$${TERRAFORM_PROVIDER
 PRINT_PLIST_AWK+=	{ sub("${TERRAFORM_PROVIDER_NAMESPACE}", "$${TERRAFORM_PROVIDER_NAMESPACE}") }
 PRINT_PLIST_AWK+=	{ sub("${TERRAFORM_PROVIDER_TYPE}", "$${TERRAFORM_PROVIDER_TYPE}") }
 PRINT_PLIST_AWK+=	{ sub("${TERRAFORM_PROVIDER_VERSION}", "$${TERRAFORM_PROVIDER_VERSION}") }
+
+#
+# TODO: overwrite do-install: target so it DTRT both for go-module.mk packages
+# TODO: and go-packages.mk packages.  This can be probably done by checking for
+# TODO: both existence of TERRAFORM_PROVIDER_BIN in .gopath/bin and bin and copy
+# TODO: what is found.  Currently, for all packaged providers, this is probably
+# TODO: good enough but if there is any exception we can probably adjust that
+# TODO: via pre-install:/post-install: too.
+#


Home | Main Index | Thread Index | Old Index