summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches/patch-directory_c-sdk_configure.in
blob: 8e7645c3f5d93bd663b4ca0ba68a1b5ffb6d7744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-directory_c-sdk_configure.in,v 1.1 2010/07/12 16:49:22 tnn Exp $

Add DragonFly support.
https://bugzilla.mozilla.org/show_bug.cgi?id=577298

--- directory/c-sdk/configure.in.orig	2009-10-06 21:43:08.000000000 +0000
+++ directory/c-sdk/configure.in
@@ -1233,6 +1233,16 @@ tools are selected during the Xcode/Deve
     _DEBUG_FLAGS=
     ;;
 
+*-dragonfly*)
+    if test -z "$USE_NSPR_THREADS"; then
+        USE_PTHREADS=1
+    fi
+    AC_DEFINE(XP_UNIX)
+    AC_DEFINE(DRAGONFLY)
+    DSO_CFLAGS=-fPIC
+    DSO_LDOPTS='-shared'
+	;;
+
 *-freebsd*)
     if test -z "$USE_NSPR_THREADS"; then
         USE_PTHREADS=1