From: Noah Misch <noah@leadboat.com>
Date: Sun, 17 Apr 2022 00:43:54 +0000 (-0700)
Subject: Add a temp-install prerequisite to src/interfaces/ecpg "checktcp".
X-Git-Tag: REL_10_21~26
X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=ad845d640ec5f5951c38f00c764a28e7bfeee40e;p=postgresql.git

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).
---

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 $@