summaryrefslogtreecommitdiff
path: root/mail/bmf/patches/patch-aa
blob: b1ac5579df4157ca987f6aff4b47642b19aaf9cf (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
25
26
27
28
29
30
31
32
$NetBSD: patch-aa,v 1.2 2006/01/08 13:50:53 joerg Exp $

--- configure.orig	Tue Oct  8 11:39:14 2002
+++ configure	Tue Oct  8 11:45:11 2002
@@ -140,6 +140,27 @@
     LIBDB_LIB=""
     MYSQL_LIB="-lmysqlclient"
     ;;
+  NetBSD | DragonFly)
+    OSVER=40
+    if [ "$with_debug" = "yes" ]; then
+      CCDBG="-g"
+      LDDBG="-g"
+    else
+      CCDBG="-DNDEBUG"
+      LDDBG=""
+    fi
+    CC=gcc
+    CFLAGS="$CCDBG -D_UNIX -D_BSD=$OSVER -Wall"
+    CXX=g++
+    CXXFLAGS=${CFLAGS}
+    AR=ar
+    ARFLAGS="-rc"
+    LD=gcc
+    LDFLAGS="$LDDBG"
+    SYSLIBS=""
+    LIBDB_LIB=""
+    MYSQL_LIB="-lmysqlclient"
+    ;;
   OpenBSD)
     # I'm guessing OpenBSD looks mostly like FreeBSD 4.x
     OSVER=40