diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2008-04-07 02:11:43 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2008-04-07 02:11:43 +0000 |
commit | 54f3fbad0141f463c7cb3e2dd6ba0fa1668876e4 (patch) | |
tree | 1b002973a746e13543664dc944a9934c26731a42 /mail/exim | |
parent | - Use pkg-config to determine if sqlite3 are compiled with threads (diff) |
- Use pkg-config to determinate if sqlite3 are compiled with threads
- Add USE_GNOME=pkgconfig
Reported by: pav
Diffstat (limited to 'mail/exim')
-rw-r--r-- | mail/exim/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile index db58eda21042..afa787de8fb9 100644 --- a/mail/exim/Makefile +++ b/mail/exim/Makefile @@ -471,8 +471,9 @@ SEDLIST+= -e 's,^\# (LOOKUP_PASSWD=),\1,' .if defined(WITH_SQLITE) USE_SQLITE= yes -SEDLIST+= -e 's,XX_SQLITE_LIBS_XX,-L${LOCALBASE}/lib -lsqlite3,' \ - -e 's,XX_SQLITE_FLAGS_XX,-I${LOCALBASE}/include,' \ +USE_GNOME= pkgconfig +SEDLIST+= -e 's,XX_SQLITE_LIBS_XX,`pkg-config --static --libs sqlite3`,' \ + -e 's,XX_SQLITE_FLAGS_XX,`pkg-config --cflags sqlite3`,' \ -e 's,^\# (LOOKUP_SQLITE=),\1,' .else SEDLIST+= -e 's,XX_SQLITE_LIBS_XX,,' \ |