diff options
author | joerg <joerg@pkgsrc.org> | 2006-04-28 15:10:18 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-04-28 15:10:18 +0000 |
commit | 8f1db676db9c219d2d083e0faa424761025f17a6 (patch) | |
tree | 3b7e43f48b7edc2aa6a028ab1a6a17027448fb5d /emulators/uae | |
parent | a7da9dcbdfecfccbd8e03f71002ac207dc9a743f (diff) | |
download | pkgsrc-8f1db676db9c219d2d083e0faa424761025f17a6.tar.gz |
Fix pthread detection.
Diffstat (limited to 'emulators/uae')
-rw-r--r-- | emulators/uae/distinfo | 4 | ||||
-rw-r--r-- | emulators/uae/patches/patch-ac | 26 |
2 files changed, 24 insertions, 6 deletions
diff --git a/emulators/uae/distinfo b/emulators/uae/distinfo index 97c1a42e358..efc5b9bdce4 100644 --- a/emulators/uae/distinfo +++ b/emulators/uae/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.13 2005/10/14 22:15:49 kristerw Exp $ +$NetBSD: distinfo,v 1.14 2006/04/28 15:10:18 joerg Exp $ SHA1 (uae-0.8.25.tar.gz) = 41b7a70cf672d3cc516bd3856a051459a95a6517 RMD160 (uae-0.8.25.tar.gz) = 6990dc7aaf43c8bda0d7b86e6d0ae164209d1eb1 Size (uae-0.8.25.tar.gz) = 970727 bytes SHA1 (patch-aa) = c185427ad9042e0e81ec4990c0ae4b5e6977a74e SHA1 (patch-ab) = 4dc5d66008a9c056c7a93f74d25c4778d4f1b6cb -SHA1 (patch-ac) = 1176273248965a36a022399e83ab53cf0c065b9f +SHA1 (patch-ac) = 94e15570fe9d8df48945be0e1f2a723826e2ceda diff --git a/emulators/uae/patches/patch-ac b/emulators/uae/patches/patch-ac index 32aa078ee06..a7ecffaa410 100644 --- a/emulators/uae/patches/patch-ac +++ b/emulators/uae/patches/patch-ac @@ -1,8 +1,17 @@ -$NetBSD: patch-ac,v 1.9 2005/10/14 22:15:49 kristerw Exp $ +$NetBSD: patch-ac,v 1.10 2006/04/28 15:10:18 joerg Exp $ ---- configure.orig 2005-08-12 20:14:06.000000000 +0200 -+++ configure 2005-08-12 20:14:58.000000000 +0200 -@@ -14385,16 +14385,16 @@ +--- configure.orig 2005-07-01 13:00:17.000000000 +0000 ++++ configure +@@ -12767,7 +12767,7 @@ echo "$as_me:$LINENO: checking for pthre + echo $ECHO_N "checking for pthread library... $ECHO_C" >&6 + TMP_SAVE_CFLAGS=$CFLAGS + TMP_SAVE_LIBS=$LIBS +-LIBS="$LIBS -lpthread" ++LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -14385,16 +14385,16 @@ else if [ "x$WANT_ALSA" = "xyes" ]; then echo "${ECHO_T}ALSA" >&6 SOUNDDEP=sd-alsa USE_SOUND=yes @@ -24,3 +33,12 @@ $NetBSD: patch-ac,v 1.9 2005/10/14 22:15:49 kristerw Exp $ else if [ "x$HAVE_AF_LIB" = "xyes" ]; then echo "$as_me:$LINENO: result: AF sound" >&5 echo "${ECHO_T}AF sound" >&6 +@@ -14466,7 +14466,7 @@ if [ "x$USE_THREADS" = "xyes" -o "x$NEED + else if [ "x$HAVE_PTHREAD_LIB" = "xyes" ]; then + THREADDEP=td-posix + CFLAGS="$CFLAGS -DSUPPORT_THREADS -D_REENTRANT" +- LIBS="$LIBS -lpthread" ++ LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" + if [ "x$HAVE_POSIX4_LIB" = "xyes" ]; then + LIBS="$LIBS -lposix4" + fi |