aboutsummaryrefslogtreecommitdiffstats
path: root/converters/libiconv
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-05-15 03:28:45 +0800
committermarcus <marcus@FreeBSD.org>2002-05-15 03:28:45 +0800
commit6662eabf9902f7c1fe776ad323d3224e2a2a472d (patch)
tree00a66d9b568664e1118c2e6931fb7cb824471acc /converters/libiconv
parente5e716f257bf6757a9190160b72da6fc94b3eada (diff)
downloadfreebsd-ports-gnome-6662eabf9902f7c1fe776ad323d3224e2a2a472d.tar.gz
freebsd-ports-gnome-6662eabf9902f7c1fe776ad323d3224e2a2a472d.tar.zst
freebsd-ports-gnome-6662eabf9902f7c1fe776ad323d3224e2a2a472d.zip
Allow libiconv to be built by a non-root user.
PR: 36810 Submitted by: KOMATSU Shinichiro <koma2@jiro.c.u-tokyo.ac.jp>
Diffstat (limited to 'converters/libiconv')
-rw-r--r--converters/libiconv/files/patch-Makefile.in11
-rw-r--r--converters/libiconv/files/patch-libcharset_Makefile.in11
2 files changed, 22 insertions, 0 deletions
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
+