summaryrefslogtreecommitdiff
path: root/databases/sqlite3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/sqlite3/Makefile')
-rw-r--r--databases/sqlite3/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index 7a166768d1fb..d2f5a3a21fd9 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -31,6 +31,7 @@ USE_TCL_BUILD= 84+
CONFIGURE_ENV+= TCLSH_CMD="${TCLSH}" \
TCLLIBDIR="${PREFIX}/lib/${PORTNAME}" \
ac_cv_search_pthread_create=""
+CPPFLAGS+= -I. -I./src
# Use an in-ram database for temporary tables (never,no,yes,always),
# which is equivalent of SQLITE_TEMP_STORE=[0,1,2,3]
@@ -205,9 +206,6 @@ CONFIGURE_ARGS+= --enable-load-extension
CONFIGURE_ARGS+= --disable-load-extension
.endif
-CONFIGURE_ENV+= CPPFLAGS="-I. -I./src ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-MAKE_ENV+= CPPFLAGS="-I. -I./src ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-
.include <bsd.port.pre.mk>
.if defined(TCL_VER) && ${TCL_VER} > 8.4