aboutsummaryrefslogtreecommitdiff
path: root/mail/bmf/files/patch-configure
blob: b2bc98418c005a3332e925612069e540a8f9dba2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- configure.orig	2002-10-09 16:29:26 UTC
+++ configure
@@ -129,15 +129,15 @@ case "$UNAME_S" in
       LDDBG=""
     fi
     CC=gcc
-    CFLAGS="$CCDBG -D_UNIX -D_BSD=$OSVER -Wall"
+    CFLAGS="$CCDBG -D_UNIX -D_BSD=$OSVER -Wall $CFLAGS"
     CXX=g++
     CXXFLAGS=${CFLAGS}
     AR=ar
     ARFLAGS="-rc"
     LD=gcc
-    LDFLAGS="$LDDBG"
+    LDFLAGS="$LDDBG $LDFLAGS"
     SYSLIBS=""
-    LIBDB_LIB=""
+    LIBDB_LIB="${DB_LIBNAME}"
     MYSQL_LIB="-lmysqlclient"
     ;;
   OpenBSD)