summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-24 10:07:36 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-24 10:07:36 +0000
commit2b233c48f89e1aa664684c0d2ec3c9c402097671 (patch)
treec6324e81cd2ab3589b4fe1d0056bb3f0e5d9559f /dev-libs/zziplib/files
parentNew package. Requested with bug #115201 (diff)
downloadgentoo-2-2b233c48f89e1aa664684c0d2ec3c9c402097671.tar.gz
gentoo-2-2b233c48f89e1aa664684c0d2ec3c9c402097671.tar.bz2
gentoo-2-2b233c48f89e1aa664684c0d2ec3c9c402097671.zip
disable SDL test completely
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-libs/zziplib/files')
-rw-r--r--dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch35
1 files changed, 11 insertions, 24 deletions
diff --git a/dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch b/dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch
index dc272ed25ffe..410a2c746c95 100644
--- a/dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch
+++ b/dev-libs/zziplib/files/zziplib-0.13.49-SDL-test.patch
@@ -1,27 +1,14 @@
-zzip-config doesnt exist, so we need to use the .pc file
+this test isnt even run automatically and the dependencies are all broken,
+so just disable it and be done
--- SDL/Makefile.in
+++ SDL/Makefile.in
-@@ -244,8 +244,8 @@
- sdl_DATA = SDL_rwops_zzip.c SDL_rwops_zzip.h
- EXTRA_DIST = $(sdl_DATA)
- zzcatsdl_SOURCES = SDL_rwops_zzcat.c
--zzcatsdl_LDFLAGS = `sdl-config --libs` `./zzip-config --libs`
--zzcatsdl_cflags = `sdl-config --cflags` `./zzip-config --cflags`
-+zzcatsdl_LDFLAGS = `sdl-config --libs` `pkg-config ../zzip/zziplib.pc --libs`
-+zzcatsdl_cflags = `sdl-config --cflags` `pkg-config ../zzip/zziplib.pc --cflags`
-
- ### if it wouldn't be for the zzip-config then we could write it like this
- # zzcatsdl_SOURCES = SDL_rwops_zzcat.c SDL_rwops_zzip.c
-@@ -544,9 +544,9 @@
- uninstall-sdlDATA
-
-
--SDL_rwops_zzip.$(OBJEXT) : zzip-config @srcdir@/SDL_rwops_zzip.c
-+SDL_rwops_zzip.$(OBJEXT) : ../zzip/zziplib.pc @srcdir@/SDL_rwops_zzip.c
- $(COMPILE) $(zzcatsdl_cflags) -c @srcdir@/SDL_rwops_zzip.c -o $@
--SDL_rwops_zzcat.$(OBJEXT) : zzip-config @srcdir@/SDL_rwops_zzcat.c
-+SDL_rwops_zzcat.$(OBJEXT) : ../zzip/zziplib.pc @srcdir@/SDL_rwops_zzcat.c
- $(COMPILE) $(zzcatsdl_cflags) -c @srcdir@/SDL_rwops_zzcat.c -o $@
- zzcatsdl$(EXEEXT): SDL_rwops_zzip.$(OBJEXT) SDL_rwops_zzcat.$(OBJEXT)
- $(LINK) SDL_rwops_zzip.$(OBJEXT) SDL_rwops_zzcat.$(OBJEXT) \
+@@ -38,7 +38,7 @@
+ build_triplet = @build@
+ host_triplet = @host@
+ target_triplet = @target@
+-check_PROGRAMS = zzcatsdl$(EXEEXT)
++check_PROGRAMS =
+ subdir = SDL
+ DIST_COMMON = $(pkgconfig_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in