summaryrefslogtreecommitdiff
path: root/multimedia/mjpegtools/patches/patch-as
blob: 7afdbece1627952a35e853cb275591a8aad21e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-as,v 1.1 2005/06/06 19:10:44 jmmv Exp $

--- configure.orig	2004-02-03 22:58:37.000000000 +0000
+++ configure
@@ -22481,9 +22481,10 @@ else
 echo "${ECHO_T}no" >&6
 fi
 
-# FreeBSD and OpenBSD have neither -lpthread nor integrated pthreads in libc.
+# DragonFly, FreeBSD and OpenBSD have neither -lpthread nor integrated
+# pthreads in libc.
 # Instead -pthread is used to the compiler/linker to get pthreads working right.
-if test x$OS_ARCH = xFreeBSD -o x$OS_ARCH = xOpenBSD; then
+if test x$OS_ARCH = xFreeBSD -o x$OS_ARCH = xOpenBSD -o x$OS_ARCH = xDragonFly; then
    CFLAGS="$CFLAGS -pthread"
    CXXFLAGS="$CXXFLAGS -pthread"
 fi