summaryrefslogtreecommitdiff
path: root/mail/enma/patches/patch-ac
blob: b624fbcc75f864145a9e4fd7fdeca2dbaba07211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.1 2009/04/09 02:25:38 obache Exp $

--- configure.orig	2009-03-02 05:01:02.000000000 +0000
+++ configure
@@ -4170,8 +4170,8 @@ fi
 
 
 CFLAGS="$CFLAGS -std=gnu99 -Wall -Wextra"
-CPPFLAGS="$CPPFLAGS -I$includedir -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS"
-LDFLAGS="$LDFLAGS -L$libdir -lpthread"
+CPPFLAGS="$CPPFLAGS -I$includedir $PTHREAD_CFLAGS"
+LDFLAGS="$LDFLAGS -L$libdir $PTHREAD_LDFLAGS $PTHREAD_LIBS"
 
 { echo "$as_me:$LINENO: checking for __res_ndestroy in -lbind" >&5
 echo $ECHO_N "checking for __res_ndestroy in -lbind... $ECHO_C" >&6; }