From ad845d640ec5f5951c38f00c764a28e7bfeee40e Mon Sep 17 00:00:00 2001
From: Noah Misch <noah@leadboat.com>
Date: Sat, 16 Apr 2022 17:43:54 -0700
Subject: [PATCH] Add a temp-install prerequisite to src/interfaces/ecpg
 "checktcp".

The target failed, tested $PATH binaries, or tested a stale temporary
installation.  Commit c66b438db62748000700c9b90b585e756dd54141 missed
this.  Back-patch to v10 (all supported versions).
---
 src/interfaces/ecpg/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/interfaces/ecpg/Makefile b/src/interfaces/ecpg/Makefile
index 41460a17c96..f523acaf32c 100644
--- a/src/interfaces/ecpg/Makefile
+++ b/src/interfaces/ecpg/Makefile
@@ -26,5 +26,6 @@ install-ecpglib-recurse: install-pgtypeslib-recurse
 clean distclean maintainer-clean:
 	$(MAKE) -C test clean
 
+checktcp: | temp-install
 check checktcp installcheck:
 	$(MAKE) -C test $@
-- 
2.39.5