summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches/patch-fa
blob: 3dead9215ed43ab85539dc3549f823bf7803672b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-fa,v 1.2 2008/06/21 15:45:16 drochner Exp $

--- m4/pthreads.m4.orig	2008-06-15 01:15:00.000000000 +0200
+++ m4/pthreads.m4
@@ -43,6 +43,9 @@ AC_DEFUN([CC_PTHREAD_FLAGS], [
      fi
   fi
 
+dnl compensate for pkgsrc pthread.bl3 smartness
+  PTHREAD_LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+
   AC_CACHE_CHECK([if $CC supports Pthread],
     AS_TR_SH([cc_cv_pthreads]),
     [ac_save_CFLAGS="$CFLAGS"