summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2008-06-09 05:57:35 +0000
committersnj <snj@pkgsrc.org>2008-06-09 05:57:35 +0000
commit84f0d11ee89cad74867302c0e9517aae2dd834f2 (patch)
treecb5f7750df7839bdf4fb55feef116c5206d9bf50 /games
parenta8e2184877b4e6595670f739c358e1fbc90bc2bc (diff)
downloadpkgsrc-84f0d11ee89cad74867302c0e9517aae2dd834f2.tar.gz
Pass $SDL_LIBS when checking SDL_mixer in configure. Fixes build on
DragonFly. Fix from Hasso Tepper in PR pkg/38853.
Diffstat (limited to 'games')
-rw-r--r--games/crack-attack/distinfo4
-rw-r--r--games/crack-attack/patches/patch-aa15
2 files changed, 14 insertions, 5 deletions
diff --git a/games/crack-attack/distinfo b/games/crack-attack/distinfo
index e1d54637d99..075191d63ea 100644
--- a/games/crack-attack/distinfo
+++ b/games/crack-attack/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2006/10/10 20:05:09 rillig Exp $
+$NetBSD: distinfo,v 1.5 2008/06/09 05:57:35 snj Exp $
SHA1 (crack-attack-1.1.14.tar.gz) = fbf445f95d77267d23a766a485fd55edbd333bb4
RMD160 (crack-attack-1.1.14.tar.gz) = 81ff2e601455362e1106cf5ef4b735cbd4497081
Size (crack-attack-1.1.14.tar.gz) = 975066 bytes
-SHA1 (patch-aa) = 7d5ad43d9312d417dd28fb8903fc544e6f8b9539
+SHA1 (patch-aa) = 8fdb551045cbeb6789f8bb6c6c3f40bab0668500
diff --git a/games/crack-attack/patches/patch-aa b/games/crack-attack/patches/patch-aa
index e33cfc784b1..2c3cc9adc6b 100644
--- a/games/crack-attack/patches/patch-aa
+++ b/games/crack-attack/patches/patch-aa
@@ -1,7 +1,16 @@
-$NetBSD: patch-aa,v 1.3 2006/10/10 20:05:10 rillig Exp $
+$NetBSD: patch-aa,v 1.4 2008/06/09 05:57:35 snj Exp $
---- configure.orig 2006-10-10 22:02:41.000000000 +0200
-+++ configure 2006-10-10 22:04:28.000000000 +0200
+--- configure.orig 2005-05-13 22:29:09 +0300
++++ configure 2008-06-03 15:42:38 +0300
+@@ -5088,7 +5088,7 @@ if test "${ac_cv_lib_SDL_mixer_Mix_OpenA
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lSDL_mixer $LIBS"
++LIBS="-lSDL_mixer $SDL_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
@@ -5248,12 +5248,12 @@ rm -f conftest.err conftest.$ac_objext \
rm -f conf.sdltest