import of libutf8; from Shell Hung <i@shellhung.org>

This commit is contained in:
todd 2001-02-08 20:05:21 +00:00
parent 64418a3b2d
commit 483523c91e
8 changed files with 215 additions and 0 deletions

18
misc/libutf8/Makefile Normal file
View File

@ -0,0 +1,18 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/02/08 20:05:21 todd Exp $
DISTNAME= libutf8-0.7.3
CATEGORIES= devel
NEED_VERSION= 1.352
MASTER_SITES= ftp://ftp.shellhung.org/pub/OpenBSD/packages/devel/
MAINTAINER= Shell Hung <i@shellhung.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} --enable-static
.include <bsd.port.mk>

3
misc/libutf8/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (libutf8-0.7.3.tar.gz) = 47074bc0c191b86aa7fe80d841623ec0
RMD160 (libutf8-0.7.3.tar.gz) = 43d361070914a7c450c53bd1cb732e33c7be7795
SHA1 (libutf8-0.7.3.tar.gz) = d6711932e5d29aa9e6984ca5a9e6e2458af43ed2

View File

@ -0,0 +1,45 @@
$OpenBSD: patch-autoconf_ltconfig,v 1.1.1.1 2001/02/08 20:05:22 todd Exp $
--- autoconf/ltconfig.orig Thu Feb 1 11:49:59 2001
+++ autoconf/ltconfig Thu Feb 1 11:53:47 2001
@@ -826,10 +826,18 @@ else
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib$libobjs'
- hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ case "$host_os" in
+ openbsd2.[01234567])
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ ;;
+ esac
;;
os2*)
@@ -1199,11 +1207,19 @@ linux-gnu*)
fi
;;
-netbsd* | openbsd*)
+netbsd*)
version_type=sunos
library_names_spec='${libname}${release}.so.$versuffix'
finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+openbsd*)
+ version_type=sunos
+ library_names_spec='${libname}${release}.so.$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ deplibs_check_method='pass_all'
;;
os2*)

View File

@ -0,0 +1,50 @@
$OpenBSD: patch-autoconf_ltmain_sh,v 1.1.1.1 2001/02/08 20:05:22 todd Exp $
--- autoconf/ltmain.sh.orig Thu Feb 1 11:50:04 2001
+++ autoconf/ltmain.sh Thu Feb 1 11:55:51 2001
@@ -1004,7 +1004,7 @@ if test -z "$show_help"; then
# Add libc to deplibs on all systems.
dependency_libs="$deplibs"
- deplibs="$deplibs -lc"
+ deplibs="$deplibs"
if test "$build_libtool_libs" = yes; then
# Get the real and link names of the library.
@@ -2025,37 +2025,6 @@ libdir='$install_libdir'\
done
fi
- echo "------------------------------------------------------------------------------"
- echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- echo " $libdir"
- done
- echo
- echo "To link against installed libraries in a given directory, LIBDIR,"
- echo "you must use the \`-LLIBDIR' flag during linking."
- echo
- echo " You will also need to do one of the following:"
- if test -n "$shlibpath_var"; then
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- echo " during execution"
- fi
- if test -n "$runpath_var"; then
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
- echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- echo " - use the \`$flag' linker flag"
- fi
- if test -f /etc/ld.so.conf; then
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- echo
- echo "See any operating system documentation about shared libraries for"
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
- echo "------------------------------------------------------------------------------"
exit 0
;;

1
misc/libutf8/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
provides UTF-8 locale support

3
misc/libutf8/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
This library provides UTF-8 locale support, for use on systems
which don't have UTF-8 locales, or whose UTF-8 locales are
unreasonably slow.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/02/08 20:05:22 todd Exp $
lib/libutf8.so.0.0
DYNLIBDIR(%B)

92
misc/libutf8/pkg/PLIST Normal file
View File

@ -0,0 +1,92 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/02/08 20:05:22 todd Exp $
include/libutf8.h
include/utf8/config.h
include/utf8/limits.h
include/utf8/locale.h
include/utf8/stdio.h
include/utf8/stdlib.h
include/utf8/types.h
include/utf8/wchar.h
include/utf8/wctype.h
lib/libutf8.a
lib/libutf8.la
man/man3/MB_CUR_MAX.3
man/man3/MB_LEN_MAX.3
man/man3/btowc.3
man/man3/fgetwc.3
man/man3/fgetws.3
man/man3/fputwc.3
man/man3/fputws.3
man/man3/fwide.3
man/man3/fwprintf.3
man/man3/getwchar.3
man/man3/iswalnum.3
man/man3/iswalpha.3
man/man3/iswblank.3
man/man3/iswcntrl.3
man/man3/iswctype.3
man/man3/iswdigit.3
man/man3/iswgraph.3
man/man3/iswlower.3
man/man3/iswprint.3
man/man3/iswpunct.3
man/man3/iswspace.3
man/man3/iswupper.3
man/man3/iswxdigit.3
man/man3/mblen.3
man/man3/mbrlen.3
man/man3/mbrtowc.3
man/man3/mbsinit.3
man/man3/mbsnrtowcs.3
man/man3/mbsrtowcs.3
man/man3/mbstowcs.3
man/man3/mbtowc.3
man/man3/printf.3
man/man3/putwchar.3
man/man3/setlocale.3
man/man3/swprintf.3
man/man3/towctrans.3
man/man3/towlower.3
man/man3/towupper.3
man/man3/ungetwc.3
man/man3/vfwprintf.3
man/man3/vswprintf.3
man/man3/vwprintf.3
man/man3/wcpcpy.3
man/man3/wcpncpy.3
man/man3/wcrtomb.3
man/man3/wcscasecmp.3
man/man3/wcscat.3
man/man3/wcschr.3
man/man3/wcscmp.3
man/man3/wcscpy.3
man/man3/wcscspn.3
man/man3/wcsdup.3
man/man3/wcslen.3
man/man3/wcsncasecmp.3
man/man3/wcsncat.3
man/man3/wcsncmp.3
man/man3/wcsncpy.3
man/man3/wcsnlen.3
man/man3/wcsnrtombs.3
man/man3/wcspbrk.3
man/man3/wcsrchr.3
man/man3/wcsrtombs.3
man/man3/wcsspn.3
man/man3/wcsstr.3
man/man3/wcstok.3
man/man3/wcstombs.3
man/man3/wcswidth.3
man/man3/wctob.3
man/man3/wctomb.3
man/man3/wctrans.3
man/man3/wctype.3
man/man3/wcwidth.3
man/man3/wmemchr.3
man/man3/wmemcmp.3
man/man3/wmemcpy.3
man/man3/wmemmove.3
man/man3/wmemset.3
man/man3/wprintf.3
%%SHARED%%
@dirrm include/utf8