1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Use pkg-config to determinate if sqlite3 are compiled with threads

- Add USE_GNOME=pkgconfig

Reported by:	pav
This commit is contained in:
Marcus Alves Grando 2008-04-07 02:11:43 +00:00
parent 27362f69c3
commit 54f3fbad01
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210691

View File

@ -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,,' \