$NetBSD: patch-ab,v 1.8 2004/04/02 19:08:37 jschauma Exp $

--- Makefile.in.orig	Wed Apr 23 13:29:22 2003
+++ Makefile.in
@@ -37,7 +37,9 @@ all : lib/localcharset.h force
 	if test -d tests; then cd tests && $(MAKE) all; fi
 
 lib/localcharset.h :
-	builddir="`pwd`"; cd libcharset && $(MAKE) all && $(MAKE) install-lib libdir="$$builddir/lib" includedir="$$builddir/lib"
+	builddir="`pwd`"; cd libcharset && $(MAKE) all &&	\
+	${PAX} -rw lib/libcharset.la lib/.libs "$$builddir/" &&	\
+	${PAX} -rw include/*.h "$$builddir/"
 
 # Installs the library and include files only. Typically called with only
 # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
