From b2c94fed6e845792aa5f257e4f31bd8b5bd1e34b Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Tue, 14 May 2002 19:28:45 +0000 Subject: Allow libiconv to be built by a non-root user. PR: 36810 Submitted by: KOMATSU Shinichiro --- converters/libiconv/files/patch-Makefile.in | 11 +++++++++++ converters/libiconv/files/patch-libcharset_Makefile.in | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 converters/libiconv/files/patch-Makefile.in create mode 100644 converters/libiconv/files/patch-libcharset_Makefile.in diff --git a/converters/libiconv/files/patch-Makefile.in b/converters/libiconv/files/patch-Makefile.in new file mode 100644 index 000000000000..0bf0dae4b300 --- /dev/null +++ b/converters/libiconv/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Sat Apr 6 21:20:47 2002 ++++ Makefile.in Sat Apr 6 21:18:03 2002 +@@ -27,7 +27,7 @@ + SHELL = /bin/sh + + all : force +- builddir="`pwd`"; cd libcharset && $(MAKE) all && $(MAKE) install-lib libdir="$$builddir/lib" includedir="$$builddir/lib" ++ builddir="`pwd`"; cd libcharset && $(MAKE) all && $(MAKE) install-lib libdir="$$builddir/lib" includedir="$$builddir/lib" sysconfdir="$$builddir/lib" + cd lib && $(MAKE) all + cd src && $(MAKE) all + cd man && $(MAKE) all diff --git a/converters/libiconv/files/patch-libcharset_Makefile.in b/converters/libiconv/files/patch-libcharset_Makefile.in new file mode 100644 index 000000000000..ad70aeded163 --- /dev/null +++ b/converters/libiconv/files/patch-libcharset_Makefile.in @@ -0,0 +1,11 @@ +--- libcharset/Makefile.in.orig Mon May 21 23:48:37 2001 ++++ libcharset/Makefile.in Sat Apr 6 21:25:39 2002 +@@ -38,7 +38,7 @@ + # Installs the library and include files only. Typically called with only + # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here. + install-lib : all force +- cd lib && $(MAKE) install-lib libdir='$(libdir)' includedir='$(includedir)' ++ cd lib && $(MAKE) install-lib libdir='$(libdir)' includedir='$(includedir)' sysconfdir='$(sysconfdir)' + $(MKINSTALLDIRS) $(includedir) + $(INSTALL_DATA) include/libcharset.h $(includedir)/libcharset.h + -- cgit v1.2.3