diff options
author | joerg <joerg@pkgsrc.org> | 2006-03-28 22:02:37 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-03-28 22:02:37 +0000 |
commit | 7c8a9698c986ff139a1ed9f71746baac7912a163 (patch) | |
tree | 98d428b68c2431ad8e171068f2c949a8b75c744c /games | |
parent | be574c19dcf0e903ef679110f9562562b9ee87ce (diff) | |
download | pkgsrc-7c8a9698c986ff139a1ed9f71746baac7912a163.tar.gz |
When checking for libSDL in configure, link in pthread explictly.
Diffstat (limited to 'games')
-rw-r--r-- | games/orbital_eunuchs_sniper/distinfo | 3 | ||||
-rw-r--r-- | games/orbital_eunuchs_sniper/patches/patch-ac | 28 |
2 files changed, 30 insertions, 1 deletions
diff --git a/games/orbital_eunuchs_sniper/distinfo b/games/orbital_eunuchs_sniper/distinfo index bd9f47f7027..df15ab2e5b7 100644 --- a/games/orbital_eunuchs_sniper/distinfo +++ b/games/orbital_eunuchs_sniper/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.5 2006/03/09 14:50:31 ghen Exp $ +$NetBSD: distinfo,v 1.6 2006/03/28 22:02:37 joerg Exp $ SHA1 (orbital_eunuchs_sniper-1.29.tar.gz) = c5c33de0645c717b35e6eff7c88946e9de65b866 RMD160 (orbital_eunuchs_sniper-1.29.tar.gz) = 49520028f6f21e9163c37fcf14030a4868a01b01 Size (orbital_eunuchs_sniper-1.29.tar.gz) = 4043177 bytes SHA1 (patch-aa) = 05ce263d290c8508c49d0902418ed56d9f129cb9 SHA1 (patch-ab) = 23fc32880df6c5457fd2f303988e24d9de76b587 +SHA1 (patch-ac) = 1f33c3bf6f8e310d92b47b9916ef28d2a9396308 SHA1 (patch-ad) = 94d479604dad6737ab85b7260f2b0e125de24df9 diff --git a/games/orbital_eunuchs_sniper/patches/patch-ac b/games/orbital_eunuchs_sniper/patches/patch-ac new file mode 100644 index 00000000000..0c67d3dcfe3 --- /dev/null +++ b/games/orbital_eunuchs_sniper/patches/patch-ac @@ -0,0 +1,28 @@ +$NetBSD: patch-ac,v 1.3 2006/03/28 22:02:38 joerg Exp $ + +--- configure.orig 2006-03-28 21:53:00.000000000 +0000 ++++ configure +@@ -4700,12 +4700,12 @@ fi + + + echo "$as_me:$LINENO: checking for SDL_Init in -lSDL" >&5 +-echo $ECHO_N "checking for SDL_Init in -lSDL... $ECHO_C" >&6 ++echo $ECHO_N "checking for SDL_Init in -lSDL ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... $ECHO_C" >&6 + if test "${ac_cv_lib_SDL_SDL_Init+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lSDL $LIBS" ++LIBS="-lSDL ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -4758,7 +4758,7 @@ if test $ac_cv_lib_SDL_SDL_Init = yes; t + #define HAVE_LIBSDL 1 + _ACEOF + +- LIBS="-lSDL $LIBS" ++ LIBS="-lSDL ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS" + + fi + |