sdl-net-1.2.3 update
This commit is contained in:
parent
73e059b27d
commit
d70f86cb2f
@ -1,13 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2001/10/05 19:29:37 obecian Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2001/12/23 04:10:56 obecian Exp $
|
||||
|
||||
COMMENT= "SDL cross-platform networking library"
|
||||
|
||||
VER= 1.2.2
|
||||
VER= 1.2.3
|
||||
PROJ= SDL_net
|
||||
DISTNAME= ${PROJ}-${VER}
|
||||
PKGNAME= sdl-net-${VER}
|
||||
CATEGORIES= devel net
|
||||
NEED_VERSION= 1.364
|
||||
NEED_VERSION= 1.500
|
||||
MASTER_SITES= http://www.libsdl.org/projects/${PROJ}/release/
|
||||
|
||||
HOMEPAGE= http://www.libsdl.org/
|
||||
@ -29,8 +29,7 @@ CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
|
||||
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig \
|
||||
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
|
||||
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
|
||||
patch-*
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
3
devel/sdl-net/distinfo
Normal file
3
devel/sdl-net/distinfo
Normal file
@ -0,0 +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
|
@ -1,3 +0,0 @@
|
||||
MD5 (SDL_net-1.2.2.tar.gz) = 02af20a5c01c4f725cb735be1b84e657
|
||||
RMD160 (SDL_net-1.2.2.tar.gz) = 53a63b77c0874cf6cfa909a95e91950cdbcf4c8c
|
||||
SHA1 (SDL_net-1.2.2.tar.gz) = a98f1e66774915d80234da23b35a6b172f37a105
|
75
devel/sdl-net/patches/patch-ltconfig
Normal file
75
devel/sdl-net/patches/patch-ltconfig
Normal file
@ -0,0 +1,75 @@
|
||||
--- 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
|
@ -1,3 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.2 2001/08/19 07:12:46 obecian Exp $
|
||||
lib/libSDL_net.so.0.2
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.3 2001/12/23 04:10:57 obecian Exp $
|
||||
lib/libSDL_net.so.0.3
|
||||
DYNLIBDIR(%B)
|
||||
|
Loading…
Reference in New Issue
Block a user