From eb36cdd5628afad4f4ec5d7f33a10b63096d63ef Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Fri, 21 Dec 2001 04:13:12 +0000
Subject: [PATCH] Add needed libiconv link to contrib/dbase, per Christopher
 Kings-Lynne

---
 contrib/dbase/Makefile      | 4 ++--
 contrib/dbase/README.dbf2pg | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/dbase/Makefile b/contrib/dbase/Makefile
index b80ff4f3f60..af1a11ea2aa 100644
--- a/contrib/dbase/Makefile
+++ b/contrib/dbase/Makefile
@@ -1,4 +1,4 @@
-# $Header: /cvsroot/pgsql/contrib/dbase/Attic/Makefile,v 1.2 2001/09/06 10:49:29 petere Exp $
+# $Header: /cvsroot/pgsql/contrib/dbase/Attic/Makefile,v 1.3 2001/12/21 04:13:12 momjian Exp $
 
 subdir = contrib/dbase
 top_builddir = ../..
@@ -7,7 +7,7 @@ include $(top_builddir)/src/Makefile.global
 PROGRAM = dbf2pg
 OBJS	= dbf.o dbf2pg.o endian.o
 PG_CPPFLAGS = -I$(libpq_srcdir)
-PG_LIBS = $(libpq)
+PG_LIBS = $(libpq) -liconv
 
 DOCS = README.dbf2pg
 MAN = dbf2pg.1			# XXX not implemented
diff --git a/contrib/dbase/README.dbf2pg b/contrib/dbase/README.dbf2pg
index 3dfa40ad31a..167055c8569 100644
--- a/contrib/dbase/README.dbf2pg
+++ b/contrib/dbase/README.dbf2pg
@@ -107,7 +107,7 @@ dbf2sql(1L)					      dbf2sql(1L)
 ENVIRONMENT
        This program is affected by the	environment-variables  as
        used  by  "PostgresSQL."   See  the documentation of Post-
-       gresSQL for more info.
+       gresSQL for more info.  This program requires libiconv.
 
 BUGS
        Fields larger than 8192 characters are not  supported  and
-- 
GitLab