sdl-image-1.2.1 update

This commit is contained in:
obecian 2001-12-23 05:07:55 +00:00
parent a9c698a984
commit b182a982ef
7 changed files with 94 additions and 20 deletions

View File

@ -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 05:07:55 obecian Exp $
COMMENT= "SDL image library"
VER= 1.2.0
VER= 1.2.1
PROJ= SDL_image
DISTNAME= ${PROJ}-${VER}
PKGNAME= sdl-image-${VER}
CATEGORIES= devel graphics
NEED_VERSION= 1.364
NEED_VERSION= 1.500
MASTER_SITES= http://www.libsdl.org/projects/${PROJ}/release/
HOMEPAGE= http://www.libsdl.org/
@ -31,8 +31,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-image/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (SDL_image-1.2.1.tar.gz) = 78ec9e3ac36416948fc7803fff494aaf
RMD160 (SDL_image-1.2.1.tar.gz) = 8ee3c3b4f30b8bedcce36bcf815f555595aa7aef
SHA1 (SDL_image-1.2.1.tar.gz) = f3545ef3f8872bf540ea24a8430be380388bc519

View File

@ -1,3 +0,0 @@
MD5 (SDL_image-1.2.0.tar.gz) = 4da2392d748dc86ddc52a72b50d77f4a
RMD160 (SDL_image-1.2.0.tar.gz) = fce50527cda14ecebbe109e283597eda55ff7580
SHA1 (SDL_image-1.2.0.tar.gz) = b3dbd2b80a5386d4688809aa08e6610bbd1c6b98

View File

@ -1,10 +1,10 @@
--- Makefile.am.orig Sun May 6 15:23:32 2001
+++ Makefile.am Sun May 6 15:27:39 2001
@@ -27,7 +27,6 @@ EXTRA_DIST = \
--- Makefile.am~ Sat Dec 22 20:46:46 2001
+++ Makefile.am Sat Dec 22 20:46:53 2001
@@ -31,7 +31,6 @@ EXTRA_DIST = \
autogen.sh
libSDL_image_la_LDFLAGS = \
- -release $(LT_RELEASE) \
- -release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libSDL_image_la_LIBADD = @IMG_LIBS@

View File

@ -1,11 +1,11 @@
--- Makefile.in.orig Sun May 6 15:23:37 2001
+++ Makefile.in Sun May 6 15:28:08 2001
@@ -98,7 +98,7 @@ libSDL_image_la_SOURCES = IMG.c IMG
EXTRA_DIST = CHANGES VisualC.zip MPWmake.sea.bin IMG_xxx.c autogen.sh
--- Makefile.in~ Sat Dec 22 20:47:36 2001
+++ Makefile.in Sat Dec 22 20:47:56 2001
@@ -97,7 +97,7 @@ libSDL_image_la_SOURCES = IMG.c IMG
EXTRA_DIST = CHANGES VisualC.zip PBProjects.tar.gz MPWmake.sea.bin IMG_xxx.c SDL_image.spec SDL_image.spec.in autogen.sh
-libSDL_image_la_LDFLAGS = -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+libSDL_image_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
-libSDL_image_la_LDFLAGS = -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+libSDL_image_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libSDL_image_la_LIBADD = @IMG_LIBS@

View 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

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/05/07 04:08:40 obecian Exp $
lib/libSDL_image.so.0.0
@comment $OpenBSD: PFRAG.shared,v 1.2 2001/12/23 05:07:55 obecian Exp $
lib/libSDL_image.so.1.0
DYNLIBDIR(%B)