summaryrefslogtreecommitdiff
path: root/converters/libiconv/patches/patch-ab
blob: 524e9b2843b5b8881930f2f2059568515114e361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.7 2004/03/02 05:01:38 snj 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 &&	\
+	${CP} -R lib/libcharset.la lib/.libs "$$builddir/lib" &&	\
+	${CP} -R include/*.h "$$builddir/include"
 
 # Installs the library and include files only. Typically called with only
 # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.