sdl-net-1.2.4 update

This commit is contained in:
mark 2002-06-23 07:56:36 +00:00
parent 53d481616f
commit 5fa71d4002
4 changed files with 7 additions and 82 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.7 2001/12/28 22:21:29 pvalchev Exp $
# $OpenBSD: Makefile,v 1.8 2002/06/23 07:56:36 mark Exp $
COMMENT= "SDL cross-platform networking library"
VER= 1.2.3
VER= 1.2.4
PROJ= SDL_net
DISTNAME= ${PROJ}-${VER}
PKGNAME= sdl-net-${VER}

View File

@ -1,3 +1,3 @@
MD5 (SDL_net-1.2.3.tar.gz) = c0ee9e0249ff088d5b6b75f38325253c
RMD160 (SDL_net-1.2.3.tar.gz) = f600bad100d4ae4ed5986b597893a794ec7470e0
SHA1 (SDL_net-1.2.3.tar.gz) = 227d6bbbddd1f810b8e60ba061832fe905763917
MD5 (SDL_net-1.2.4.tar.gz) = dca08c8935c5dbcdd18b4ad367eb2ee6
RMD160 (SDL_net-1.2.4.tar.gz) = 7ed66b6f67988a0ae3b5ed77dc3ea3d5d8826515
SHA1 (SDL_net-1.2.4.tar.gz) = 2cd161b6de1d094704777d21a9764e636710ba4f

View File

@ -1,75 +0,0 @@
--- ltconfig~ Sat Dec 22 19:47:31 2001
+++ ltconfig Sat Dec 22 19:56:31 2001
@@ -501,7 +501,14 @@ fi
if test -n "$RANLIB"; then
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ case "$host_os" in
+ openbsd*)
+ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
+ ;;
+ *)
+ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ ;;
+ esac
fi
# Set sane defaults for `DLLTOOL', `OBJDUMP', and `AS', used on cygwin.
@@ -1444,19 +1451,23 @@ else
openbsd*)
hardcode_direct=yes
hardcode_shlibpath_var=no
- case "$host_os" in
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.
+8-powerpc"; then
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
+ export_dynamic_flag_spec='${wl}-E'
+ else
+ case "$host_os" in
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
- hardcode_libdir_flag_spec='-R$libdir'
- ;;
+ 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'
- if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- export_dynamic_flag_spec='${wl}-E'
- fi
- ;;
- esac
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
+ ;;
+ esac
+ fi
;;
os2*)
@@ -2083,11 +2094,20 @@ openbsd*)
version_type=sunos
need_lib_prefix=no
need_version=no
+ sys_lib_search_path_spec="/usr/lib"
+ sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib"
file_magic_cmd=/usr/bin/file
file_magic_test_file=`echo /usr/lib/libc.so.*`
if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
- shlibpath_overrides_runpath=no
+ case "$host_os" in
+ openbsd2.[89] | openbsd2.[89].*)
+ shlibpath_overrides_runpath=no
+ ;;
+ *)
+ shlibpath_overrides_runpath=yes
+ ;;
+ esac
else
deplibs_check_method='file_magic OpenBSD.* shared library'
shlibpath_overrides_runpath=yes

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2001/12/23 04:10:57 obecian Exp $
lib/libSDL_net.so.0.3
@comment $OpenBSD: PFRAG.shared,v 1.4 2002/06/23 07:56:36 mark Exp $
lib/libSDL_net.so.0.4
DYNLIBDIR(%B)