From 88d94a11bb2b0d3dac95325d8d6056e4bac8b4b8 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Sun, 7 May 2006 01:05:11 +0000
Subject: [PATCH] Use $(LIBS:-lpgport=) rather than $(patsubst -lpgport,,
 $(LIBS)), for consistency.

---
 src/interfaces/libpq/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile
index 2a1f76e712..1fa17b461b 100644
--- a/src/interfaces/libpq/Makefile
+++ b/src/interfaces/libpq/Makefile
@@ -5,7 +5,7 @@
 # Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
 # Portions Copyright (c) 1994, Regents of the University of California
 #
-# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.144 2006/04/28 02:53:20 tgl Exp $
+# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.145 2006/05/07 01:05:11 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -29,7 +29,7 @@ endif
 # object files to use the same compile flags as libpq.  If we used
 # the object files from libpgport, this would not be true on all
 # platforms.
-LIBS := $(patsubst -lpgport,, $(LIBS))
+LIBS := $(LIBS:-lpgport=)
 
 OBJS=	fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
 	fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o \
-- 
2.40.0