1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update to 1.5.1.

Submitted by:	ade
This commit is contained in:
Maxim Sobolev 2001-02-09 19:36:45 +00:00
parent 85de7b883f
commit 4fa15927d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38140
8 changed files with 176 additions and 70 deletions

View File

@ -6,15 +6,18 @@
#
PORTNAME= libiconv
PORTVERSION= 1.4
PORTVERSION= 1.5.1
CATEGORIES= converters devel
MASTER_SITES= ftp://ftp.ilog.fr/pub/Users/haible/gnu/
MAINTAINER= sobomax@FreeBSD.org
USE_LIBTOOL= yes
LIBTOOLFILES= configure libcharset/configure
CONFIGURE_ARGS= --enable-static
INSTALLS_SHLIB= yes
MAN1= giconv.1
MAN3= giconv.3 giconv_open.3 giconv_close.3
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (libiconv-1.4.tar.gz) = c633bd31dc8a5e706504d715eae722b1
MD5 (libiconv-1.5.1.tar.gz) = 8b7c51cd7c44618258cec9439fa858ba

View File

@ -1,28 +1,17 @@
--- Makefile.in.orig Fri Sep 15 11:32:25 2000
+++ Makefile.in Mon Nov 20 18:45:55 2000
@@ -36,14 +36,14 @@
install-lib : all force
cd src; $(MAKE) -r install-lib libdir='$(libdir)' includedir='$(includedir)'
--- Makefile.in.orig Tue Dec 12 13:39:43 2000
+++ Makefile.in Thu Feb 8 22:56:38 2001
@@ -40,3 +40,3 @@
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 src; $(MAKE) -r install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
@@ -49,3 +49,3 @@
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) -r install prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
installdirs : force
@@ -55,7 +55,7 @@
uninstall : force
cd src; $(MAKE) -r uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
cd man && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
@@ -65,3 +65,3 @@
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) -r uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
check : force
cd man && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'

View File

@ -1,41 +1,25 @@
--- src/Makefile.in.orig Tue Oct 24 02:24:41 2000
+++ src/Makefile.in Mon Nov 20 18:54:10 2000
@@ -49,10 +49,10 @@
--- src/Makefile.in.orig Fri Dec 8 08:49:16 2000
+++ src/Makefile.in Thu Feb 8 22:58:33 2001
@@ -40,8 +40,8 @@
PLUG_SOURCES =
-iconv : $(srcdir)/iconv.c ../lib/libiconv.la
- $(LIBTOOL_LINK) $(CC) $(CFLAGS) $(INCLUDES) -I../lib $(srcdir)/iconv.c ../lib/libiconv.la -o $@
+iconv : $(srcdir)/iconv.c ../lib/libgiconv.la
+ $(LIBTOOL_LINK) $(CC) $(CFLAGS) $(INCLUDES) -I../lib $(srcdir)/iconv.c ../lib/libgiconv.la -o $@
-all : libiconv.la @PLUGLIB@
+all : libgiconv.la @PLUGLIB@
# The following rule is necessary to avoid a toplevel "make -n check" failure.
-../lib/libiconv.la :
- cd ../lib && $(MAKE) libiconv.la
+../lib/libgiconv.la :
+ cd ../lib && $(MAKE) libgiconv.la
-libiconv.la : $(OBJECTS)
- $(LIBTOOL_LINK) $(CC) -o libiconv.la -rpath $(libdir) -version-info $(LIBICONV_VERSION_INFO) $(OBJECTS)
+libgiconv.la : $(OBJECTS)
+ $(LIBTOOL_LINK) $(CC) -o libgiconv.la -rpath $(libdir) -version-info $(LIBICONV_VERSION_INFO) $(OBJECTS)
libiconv_plug.so : libiconv_plug_@OS@.so
$(RM) libiconv_plug.so
@@ -79,13 +79,13 @@
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
install-lib : all force
if [ ! -d $(libdir) ] ; then mkdir $(libdir) ; fi
- $(LIBTOOL_INSTALL) $(INSTALL_DATA) libiconv.la $(libdir)/libiconv.la
+ $(LIBTOOL_INSTALL) $(INSTALL_DATA) libgiconv.la $(libdir)/libgiconv.la
install : all force
if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
if [ ! -d $(DESTDIR)$(libdir) ] ; then mkdir $(DESTDIR)$(libdir) ; fi
- $(LIBTOOL_INSTALL) $(INSTALL_DATA) libiconv.la $(DESTDIR)$(libdir)/libiconv.la
+ $(LIBTOOL_INSTALL) $(INSTALL_DATA) libgiconv.la $(DESTDIR)$(libdir)/libgiconv.la
if test -n "@PLUGLIB@"; then $(INSTALL_DATA) @PLUGLIB@ $(DESTDIR)$(libdir)/@PLUGLIB@.new && mv $(DESTDIR)$(libdir)/@PLUGLIB@.new $(DESTDIR)$(libdir)/@PLUGLIB@ ; fi
installdirs : force
@@ -94,7 +94,7 @@
if [ ! -d $(DESTDIR)$(libdir) ] ; then mkdir $(DESTDIR)$(libdir) ; fi
@@ -51,3 +51,3 @@
if [ ! -d $(DESTDIR)$(bindir) ] ; then mkdir $(DESTDIR)$(bindir) ; fi
- $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) iconv $(DESTDIR)$(bindir)/iconv
+ $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) iconv $(DESTDIR)$(bindir)/giconv
@@ -59,3 +59,3 @@
uninstall : force
- $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libiconv.la
+ $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libgiconv.la
if test -n "@PLUGLIB@"; then $(RM) $(DESTDIR)$(libdir)/@PLUGLIB@ ; fi
- $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(bindir)/iconv
+ $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(bindir)/giconv
check : all

View File

@ -1,20 +1,17 @@
--- man/Makefile.in.orig Fri Sep 15 11:32:20 2000
+++ man/Makefile.in Mon Nov 20 18:49:09 2000
@@ -30,7 +30,7 @@
if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
if [ ! -d $(DESTDIR)$(mandir) ] ; then mkdir $(DESTDIR)$(mandir) ; fi
--- man/Makefile.in.orig Fri Dec 8 08:49:07 2000
+++ man/Makefile.in Thu Feb 8 23:00:54 2001
@@ -32,5 +32,5 @@
if [ ! -d $(DESTDIR)$(mandir)/man1 ] ; then mkdir $(DESTDIR)$(mandir)/man1 ; fi
- cd $(srcdir) && for f in *.1 ; do echo $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man1/$$f ; $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man1/$$f ; done
+ cd $(srcdir) && for f in *.1 ; do echo $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man1/$$f ; $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man1/g$$f ; done
if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then mkdir $(DESTDIR)$(mandir)/man3 ; fi
- cd $(srcdir) && for f in *.3 ; do echo $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man3/$$f ; $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man3/$$f ; done
+ cd $(srcdir) && for f in *.3 ; do echo $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man3/g$$f ; $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man3/g$$f ; done
installdirs : force
if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
@@ -38,7 +38,7 @@
if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then mkdir $(DESTDIR)$(mandir)/man3 ; fi
+ cd $(srcdir) && for f in *.3 ; do echo $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man3/$$f ; $(INSTALL_DATA) $$f $(DESTDIR)$(mandir)/man3/g$$f ; done
@@ -43,4 +43,4 @@
uninstall : force
- cd $(srcdir) && for f in *.1 ; do echo $(RM) $(DESTDIR)$(mandir)/man1/$$f ; $(RM) $(DESTDIR)$(mandir)/man1/$$f ; done
- cd $(srcdir) && for f in *.3 ; do echo $(RM) $(DESTDIR)$(mandir)/man3/$$f ; $(RM) $(DESTDIR)$(mandir)/man3/$$f ; done
+ cd $(srcdir) && for f in *.3 ; do echo $(RM) $(DESTDIR)$(mandir)/man3/g$$f ; $(RM) $(DESTDIR)$(mandir)/man3/g$$f ; done
check :
+ cd $(srcdir) && for f in *.1 ; do echo $(RM) $(DESTDIR)$(mandir)/man1/$$f ; $(RM) $(DESTDIR)$(mandir)/man1/g$$f ; done
+ cd $(srcdir) && for f in *.3 ; do echo $(RM) $(DESTDIR)$(mandir)/man3/$$f ; $(RM) $(DESTDIR)$(mandir)/man3/g$$f ; done

View File

@ -0,0 +1,63 @@
--- lib/Makefile.in.orig Fri Dec 8 08:49:42 2000
+++ lib/Makefile.in Thu Feb 8 22:59:57 2001
@@ -1,2 +1,2 @@
-# Makefile for libiconv/lib
+# Makefile for libgiconv/lib
@@ -51,23 +51,23 @@
-all : libiconv.la @PLUGLIB@
+all : libgiconv.la @PLUGLIB@
-libiconv.la : $(OBJECTS)
- $(LIBTOOL_LINK) $(CC) -o libiconv.la -rpath $(libdir) -version-info $(LIBICONV_VERSION_INFO) $(OBJECTS) $(LIBCHARSET_OBJECTS)
+libgiconv.la : $(OBJECTS)
+ $(LIBTOOL_LINK) $(CC) -o libgiconv.la -rpath $(libdir) -version-info $(LIBICONV_VERSION_INFO) $(OBJECTS) $(LIBCHARSET_OBJECTS)
-libiconv_plug.so : libiconv_plug_@OS@.so
- $(RM) libiconv_plug.so
- $(LN_S) libiconv_plug_@OS@.so libiconv_plug.so
+libgiconv_plug.so : libgiconv_plug_@OS@.so
+ $(RM) libgiconv_plug.so
+ $(LN_S) libgiconv_plug_@OS@.so libgiconv_plug.so
-libiconv_plug_linux.so : $(SOURCES)
- $(LIBTOOL_LINK) $(CC) $(CFLAGS) $(INCLUDES) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) $(LIBCHARSET_OBJECTS) -shared -o libiconv_plug_linux.so
+libgiconv_plug_linux.so : $(SOURCES)
+ $(LIBTOOL_LINK) $(CC) $(CFLAGS) $(INCLUDES) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) $(LIBCHARSET_OBJECTS) -shared -o libgiconv_plug_linux.so
-libiconv_plug_solaris.so : $(SOURCES)
- $(LIBTOOL_LINK) $(CC) $(CFLAGS) $(INCLUDES) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) $(LIBCHARSET_OBJECTS) -G -o libiconv_plug_solaris.so
+libgiconv_plug_solaris.so : $(SOURCES)
+ $(LIBTOOL_LINK) $(CC) $(CFLAGS) $(INCLUDES) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) $(LIBCHARSET_OBJECTS) -G -o libgiconv_plug_solaris.so
-libiconv_plug_osf.so : $(SOURCES)
+libgiconv_plug_osf.so : $(SOURCES)
if test -n "@GCC@"; then \
- $(LIBTOOL_LINK) $(CC) $(CFLAGS) $(INCLUDES) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) $(LIBCHARSET_OBJECTS) -shared -o libiconv_plug_osf.so; \
+ $(LIBTOOL_LINK) $(CC) $(CFLAGS) $(INCLUDES) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) $(LIBCHARSET_OBJECTS) -shared -o libgiconv_plug_osf.so; \
else \
$(LIBTOOL_LINK) $(CC) $(CFLAGS) $(INCLUDES) -DPIC -DLIBICONV_PLUG $(SOURCES) $(LIBCHARSET_OBJECTS) -c -o iconv_plug.o; \
- /bin/ld -shared -expect_unresolved \* -o libiconv_plug_osf.so iconv_plug.o; \
+ /bin/ld -shared -expect_unresolved \* -o libgiconv_plug_osf.so iconv_plug.o; \
fi
@@ -81,3 +81,3 @@
if [ ! -d $(libdir) ] ; then mkdir $(libdir) ; fi
- $(LIBTOOL_INSTALL) $(INSTALL_DATA) libiconv.la $(libdir)/libiconv.la
+ $(LIBTOOL_INSTALL) $(INSTALL_DATA) libgiconv.la $(libdir)/libgiconv.la
@@ -87,3 +87,3 @@
if [ ! -d $(DESTDIR)$(libdir) ] ; then mkdir $(DESTDIR)$(libdir) ; fi
- $(LIBTOOL_INSTALL) $(INSTALL_DATA) libiconv.la $(DESTDIR)$(libdir)/libiconv.la
+ $(LIBTOOL_INSTALL) $(INSTALL_DATA) libgiconv.la $(DESTDIR)$(libdir)/libgiconv.la
if test -n "@PLUGLIB@"; then $(INSTALL_DATA) @PLUGLIB@ $(DESTDIR)$(libdir)/@PLUGLIB@.new && mv $(DESTDIR)$(libdir)/@PLUGLIB@.new $(DESTDIR)$(libdir)/@PLUGLIB@ ; fi
@@ -96,3 +96,3 @@
uninstall : force
- $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libiconv.la
+ $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libgiconv.la
if test -n "@PLUGLIB@"; then $(RM) $(DESTDIR)$(libdir)/@PLUGLIB@ ; fi
@@ -104,3 +104,3 @@
clean : force
- $(RM) *.o *.lo *.a *.la libiconv_plug* core
+ $(RM) *.o *.lo *.a *.la libgiconv_plug* core
$(RM) -r .libs _libs

View File

@ -0,0 +1,63 @@
$FreeBSD$
--- libcharset/lib/Makefile.in.orig Tue Dec 12 21:43:30 2000
+++ libcharset/lib/Makefile.in Fri Feb 9 21:31:11 2001
@@ -10,6 +10,7 @@
local_prefix = /usr/local
exec_prefix = @exec_prefix@
libdir = $(exec_prefix)/lib
+sysconfdir = $(exec_prefix)/etc
# Programs used by "make":
CC = @CC@
@@ -50,7 +51,7 @@
$(LIBTOOL_LINK) $(CC) -o libcharset.la -rpath $(libdir) -version-info $(LIBCHARSET_VERSION_INFO) $(OBJECTS)
localcharset.lo : $(srcdir)/localcharset.c
- $(LIBTOOL_COMPILE) $(CC) $(CFLAGS) $(INCLUDES) -DHAVE_CONFIG_H -DLIBDIR=\"$(libdir)\" -c $(srcdir)/localcharset.c
+ $(LIBTOOL_COMPILE) $(CC) $(CFLAGS) $(INCLUDES) -DHAVE_CONFIG_H -DLIBDIR=\"$(sysconfdir)\" -c $(srcdir)/localcharset.c
charset.alias: $(srcdir)/config.charset
$(SHELL) $(srcdir)/config.charset '@host@' > t-$@
@@ -69,11 +70,12 @@
install-lib : all force
$(MKINSTALLDIRS) $(libdir)
$(LIBTOOL_INSTALL) $(INSTALL_DATA) libcharset.la $(libdir)/libcharset.la
- test -f $(libdir)/charset.alias && orig=$(libdir)/charset.alias \
+ $(MKINSTALLDIRS) $(sysconfdir)
+ test -f $(sysconfdir)/charset.alias && orig=$(sysconfdir)/charset.alias \
|| orig=charset.alias; \
- sed -f ref-add.sed $$orig > $(libdir)/t-charset.alias; \
- $(INSTALL_DATA) $(libdir)/t-charset.alias $(libdir)/charset.alias; \
- rm -f $(libdir)/t-charset.alias
+ sed -f ref-add.sed $$orig > $(sysconfdir)/t-charset.alias; \
+ $(INSTALL_DATA) $(sysconfdir)/t-charset.alias $(sysconfdir)/charset.alias; \
+ rm -f $(sysconfdir)/t-charset.alias
# The following is needed in order to install a simple file in $(libdir)
# which is shared with other installed packages. We use a list of referencing
@@ -85,15 +87,16 @@
install : all force
$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
$(LIBTOOL_INSTALL) $(INSTALL_DATA) libcharset.la $(DESTDIR)$(libdir)/libcharset.la
- if test -f $(DESTDIR)$(libdir)/charset.alias; then \
- sed -f ref-add.sed $(DESTDIR)$(libdir)/charset.alias > $(DESTDIR)$(libdir)/t-charset.alias; \
- $(INSTALL_DATA) $(DESTDIR)$(libdir)/t-charset.alias $(DESTDIR)$(libdir)/charset.alias; \
- rm -f $(DESTDIR)$(libdir)/t-charset.alias; \
+ $(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir)
+ if test -f $(DESTDIR)$(sysconfdir)/charset.alias; then \
+ sed -f ref-add.sed $(DESTDIR)$(sysconfdir)/charset.alias > $(DESTDIR)$(sysconfdir)/t-charset.alias; \
+ $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/t-charset.alias $(DESTDIR)$(sysconfdir)/charset.alias; \
+ rm -f $(DESTDIR)$(sysconfdir)/t-charset.alias; \
else \
if test @GLIBC21@ = no; then \
- sed -f ref-add.sed charset.alias > $(DESTDIR)$(libdir)/t-charset.alias; \
- $(INSTALL_DATA) $(DESTDIR)$(libdir)/t-charset.alias $(DESTDIR)$(libdir)/charset.alias; \
- rm -f $(DESTDIR)$(libdir)/t-charset.alias; \
+ sed -f ref-add.sed charset.alias > $(DESTDIR)$(sysconfdir)/t-charset.alias; \
+ $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/t-charset.alias $(DESTDIR)$(sysconfdir)/charset.alias; \
+ rm -f $(DESTDIR)$(sysconfdir)/t-charset.alias; \
fi ; \
fi

View File

@ -1,3 +1,10 @@
bin/giconv
etc/charset.alias
include/giconv.h
include/libcharset.h
lib/libcharset.a
lib/libcharset.so
lib/libcharset.so.1
lib/libgiconv.a
lib/libgiconv.so
lib/libgiconv.so.2