diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-03-18 09:43:25 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-03-18 09:43:25 +0000 |
commit | 0b31d075bc0e27d93cf260d6dda0f3fbe47654e6 (patch) | |
tree | cc417f6c1e09adfeacf163534c572adfc3e479f7 /converters/libiconv/files/patch-aa | |
parent | Update to patch level z. (diff) |
Iconv cleanup, stage 1a: remove `g' prefix from binaries, headers, libraries and
manpages installed by libiconv (aka GNU iconv) and add similar `b'-prefixes
into components installed by iconv (aka BSD iconv). The reason why we do this
is because unfortunately BSD iconv become abadonware (author doesn't maintain
it anymore), while number of ports that need functional iconv library grows
very fast, thus creating significant overhead due to patches needed to make
ports working with prefixed GNU iconv. For compatibility reasons create
symlinks in GNU iconv, so that all ports that expect GNU iconv to have `g'
prefix should work unmodified until all those `g'-hacks are wiped out.
Prompted by: ache
Reviewed by (in principle): freebsd-ports, freebsd-gnome
Diffstat (limited to 'converters/libiconv/files/patch-aa')
-rw-r--r-- | converters/libiconv/files/patch-aa | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/converters/libiconv/files/patch-aa b/converters/libiconv/files/patch-aa index 084afa2ad6b5..c767d10cffb7 100644 --- a/converters/libiconv/files/patch-aa +++ b/converters/libiconv/files/patch-aa @@ -2,8 +2,8 @@ $FreeBSD$ --- Makefile.in.orig Tue Feb 20 21:43:19 2001 -+++ Makefile.in Mon Aug 27 12:25:03 2001 -@@ -31,14 +31,14 @@ ++++ Makefile.in Sun Mar 17 11:01:20 2002 +@@ -31,7 +31,7 @@ cd lib && $(MAKE) all cd src && $(MAKE) all cd man && $(MAKE) all @@ -12,29 +12,3 @@ $FreeBSD$ # 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)' - if [ ! -d $(includedir) ] ; then mkdir $(includedir) ; fi -- $(INSTALL_DATA) include/iconv.h $(includedir)/iconv.h -+ $(INSTALL_DATA) include/iconv.h $(includedir)/giconv.h - - install : force - cd libcharset && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' -@@ -47,7 +47,7 @@ - if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi - if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi - if [ ! -d $(DESTDIR)$(includedir) ] ; then mkdir $(DESTDIR)$(includedir) ; fi -- $(INSTALL_DATA) include/iconv.h $(DESTDIR)$(includedir)/iconv.h -+ $(INSTALL_DATA) include/iconv.h $(DESTDIR)$(includedir)/giconv.h - cd man && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)' - - installdirs : force -@@ -63,7 +63,7 @@ - cd libcharset && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' - cd lib && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' - cd src && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' -- $(RM) $(DESTDIR)$(includedir)/iconv.h -+ $(RM) $(DESTDIR)$(includedir)/giconv.h - cd man && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)' - - check : all force |