Merge from vendor branch TNF:
[pkgsrcv2.git] / converters / libiconv / patches / patch-ab
1 $NetBSD$
2
3 --- Makefile.in.orig    2009-06-21 11:17:33.000000000 +0000
4 +++ Makefile.in
5 @@ -39,7 +39,9 @@ all : lib/localcharset.h force
6         if test -d tests; then cd tests && $(MAKE) all; fi
7  
8  lib/localcharset.h :
9 -       builddir="`pwd`"; cd libcharset && $(MAKE) all && $(MAKE) install-lib libdir="$$builddir/lib" includedir="$$builddir/lib"
10 +       builddir="`pwd`"; cd libcharset && $(MAKE) all &&       \
11 +       ${PAX} -rw lib/libcharset.la lib/.libs "$$builddir/" && \
12 +       ${PAX} -rw include/*.h "$$builddir/"
13  
14  # Installs the library and include files only. Typically called with only
15  # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.