update to 1.2.4

This commit is contained in:
jolan 2005-07-03 21:35:57 +00:00
parent 89754a7fa0
commit 64fde83848
6 changed files with 53 additions and 37 deletions

View File

@ -1,39 +1,35 @@
# $OpenBSD: Makefile,v 1.16 2005/04/23 15:55:52 espie Exp $
# $OpenBSD: Makefile,v 1.17 2005/07/03 21:35:57 jolan Exp $
COMMENT= "SDL image library"
DISTNAME= SDL_image-1.2.3
DISTNAME= SDL_image-1.2.4
PKGNAME= ${DISTNAME:L:S/_/-/}
CATEGORIES= devel graphics
MASTER_SITES= http://www.libsdl.org/projects/SDL_image/release/
HOMEPAGE= http://www.libsdl.org/projects/SDL_image/
MAINTAINER= Jolan Luff <jolan@openbsd.org>
FAKE=lib
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext usbhid z
FAKE= lib
USE_LIBTOOL= Yes
USE_X11= Yes
LIB_DEPENDS= SDL.::devel/sdl \
png.2::graphics/png \
tiff.35::graphics/tiff \
jpeg.62.::graphics/jpeg
USE_X11= Yes
WANTLIB= X11 Xext m usbhid z
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE=gnu
CONFIGURE_ENV+= LDFLAGS="-L${X11BASE}/lib" \
CPPFLAGS="-I${DEPBASE}/include -I${DEPBASE}/include/libpng"
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
CONFIGURE_ENV+=sdlconf_args=--prefix=${DEPBASE}
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
patch-*
CONFIGURE_ARGS+=--enable-tif \
${CONFIGURE_SHARED}
CONFIGURE_ENV+= CPPFLAGS="-I${DEPBASE}/include -I${DEPBASE}/include/libpng" \
LDFLAGS="-L${X11BASE}/lib" \
sdlconf_args=--prefix=${DEPBASE}
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
MD5 (SDL_image-1.2.3.tar.gz) = d55826ffbd2bdc48b09cc64a9ed9e59e
RMD160 (SDL_image-1.2.3.tar.gz) = ef488b0d731170336f6a3b5254e24c69726e0d92
SHA1 (SDL_image-1.2.3.tar.gz) = a6610edd6ea4afb0ff351c7911c46034e161076d
SIZE (SDL_image-1.2.3.tar.gz) = 636747
MD5 (SDL_image-1.2.4.tar.gz) = 70bf617f99e51a2c94550fc79d542f0b
RMD160 (SDL_image-1.2.4.tar.gz) = 0c42fecde17e841a98ffc6d7b4f6473e30447df1
SHA1 (SDL_image-1.2.4.tar.gz) = 64664c43a105ca6532f2b7d7f45d24f17388b5da
SIZE (SDL_image-1.2.4.tar.gz) = 841885

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-Makefile_am,v 1.3 2002/09/03 06:19:18 mark Exp $
--- Makefile.am.orig Sun Sep 23 16:24:28 2001
+++ Makefile.am Mon Sep 2 23:12:41 2002
@@ -31,7 +31,6 @@ EXTRA_DIST = \
autogen.sh
$OpenBSD: patch-Makefile_am,v 1.4 2005/07/03 21:35:57 jolan Exp $
--- Makefile.am.orig Wed Dec 15 22:41:01 2004
+++ Makefile.am Sun Jul 3 15:38:47 2005
@@ -32,7 +32,6 @@ EXTRA_DIST = \
libSDL_image_la_LDFLAGS = \
libSDL_image_la_LDFLAGS = \
-no-undefined \
- -release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libSDL_image_la_LIBADD = @IMG_LIBS@

View File

@ -1,12 +1,11 @@
$OpenBSD: patch-Makefile_in,v 1.4 2003/04/03 23:40:05 margarida Exp $
--- Makefile.in.orig Fri Mar 7 00:27:16 2003
+++ Makefile.in Mon Mar 10 05:20:29 2003
@@ -99,7 +99,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
$OpenBSD: patch-Makefile_in,v 1.5 2005/07/03 21:35:57 jolan Exp $
--- Makefile.in.orig Thu Dec 16 00:32:18 2004
+++ Makefile.in Sun Jul 3 15:39:31 2005
@@ -255,7 +255,6 @@ EXTRA_DIST = \
-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 = \
-no-undefined \
- -release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libSDL_image_la_LIBADD = @IMG_LIBS@

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-configure,v 1.1 2005/07/03 21:35:57 jolan Exp $
--- configure.orig Wed Dec 15 22:41:33 2004
+++ configure Sun Jul 3 15:45:56 2005
@@ -21138,7 +21138,7 @@ if test "${ac_cv_lib_tiff_TIFFClientOpen
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-ltiff $LIBS"
+LIBS="-ltiff -ljpeg -lz $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -21202,7 +21202,7 @@ fi
if test x$have_libtiff = xyes; then
CFLAGS="$CFLAGS -DLOAD_TIF"
- IMG_LIBS="$IMG_LIBS -ltiff"
+ IMG_LIBS="$IMG_LIBS -ltiff -ljpeg -lz"
else
{ echo "$as_me:$LINENO: WARNING:
*** Unable to find Tiff library (ftp://ftp.sgi.com/graphics/tiff/)

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.5 2004/09/14 23:44:01 espie Exp $
@lib lib/libSDL_image.so.1.2
@comment $OpenBSD: PFRAG.shared,v 1.6 2005/07/03 21:35:57 jolan Exp $
@lib lib/libSDL_image.so.1.3