pkgsrc-WIP-changes archive

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

terraform: Remove install logic for the moment



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Mar 28 14:04:02 2021 +0200
Changeset:	8feb0010326d027fbc42d991e49893910e8b3660

Modified Files:
	terraform/provider.mk

Log Message:
terraform: Remove install logic for the moment

The existent logic worked only for go-modules.mk packages (and iff they
installed generated provider under .gopath/bin), let's avoid it
completely for the moment so each providers needs to have their
INSTALLATION_DIRS and do-install: target.

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

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

diffstat:
 terraform/provider.mk | 12 ------------
 1 file changed, 12 deletions(-)

diffs:
diff --git a/terraform/provider.mk b/terraform/provider.mk
index b5e90d18d3..cf27b8a0c8 100644
--- a/terraform/provider.mk
+++ b/terraform/provider.mk
@@ -2,10 +2,6 @@
 #
 # This file implements common logic for Terraform providers in pkgsrc.
 #
-# Please note that if the provided `do-install:' should be used this file
-# should be included before including lang/go/go-package.mk or
-# lang/go/go-module.mk.
-#
 # === Package-settable variables ===
 #
 # TERRAFORM_PROVIDER_HOSTNAME (optional)
@@ -40,11 +36,3 @@ 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}") }
-
-INSTALLATION_DIRS?=	${TERRAFORM_PROVIDER_DIR}
-
-.if !target(do-install)
-do-install:
-	${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/${TERRAFORM_PROVIDER_BIN} \
-	    ${DESTDIR}${PREFIX}/${TERRAFORM_PROVIDER_DIR}
-.endif


Home | Main Index | Thread Index | Old Index