1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Allow libiconv to be built by a non-root user.

PR:		36810
Submitted by:	KOMATSU Shinichiro <koma2@jiro.c.u-tokyo.ac.jp>
This commit is contained in:
Joe Marcus Clarke 2002-05-14 19:28:45 +00:00
parent cede1a236a
commit b2c94fed6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59093
2 changed files with 22 additions and 0 deletions

View File

@ -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

View File

@ -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