From b1ea9811b331de36133b307c78cba175edbd38c6 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat, 22 May 2004 02:15:08 +0000
Subject: [PATCH] Fix for vpath builds.

---
 src/port/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/port/Makefile b/src/port/Makefile
index a7eafdf8eeb..76f967ae656 100644
--- a/src/port/Makefile
+++ b/src/port/Makefile
@@ -7,7 +7,7 @@
 # with broken/missing library files.
 
 # IDENTIFICATION
-#    $PostgreSQL: pgsql/src/port/Makefile,v 1.12 2004/05/21 20:56:50 tgl Exp $
+#    $PostgreSQL: pgsql/src/port/Makefile,v 1.13 2004/05/22 02:15:08 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -15,6 +15,8 @@ subdir = src/port
 top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
+override CPPFLAGS := -I$(top_builddir)/src/port $(CPPFLAGS)
+
 ifdef LIBOBJS
 all: libpgport.a
 endif
-- 
GitLab