aboutsummaryrefslogtreecommitdiff
path: root/databases/sqlite3
diff options
context:
space:
mode:
Diffstat (limited to 'databases/sqlite3')
-rw-r--r--databases/sqlite3/Makefile4
-rw-r--r--databases/sqlite3/pkg-plist3
2 files changed, 5 insertions, 2 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index 6f9dd668b4d9..a7ad0b11bb28 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -12,6 +12,7 @@
PORTNAME= sqlite
PORTVERSION= 3.0.8
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.sqlite.org/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@@ -36,6 +37,9 @@ WITH_TCL= YES
.if defined(WITH_TCL)
ALL_TARGET+= libtclsqlite.la
+PLIST_SUB+= WITH_TCL=""
+.else
+PLIST_SUB+= WITH_TCL="@comment "
.endif
.if !defined(NOPORTDOCS)
diff --git a/databases/sqlite3/pkg-plist b/databases/sqlite3/pkg-plist
index 4dfdc00965cf..7d8f2ea654a4 100644
--- a/databases/sqlite3/pkg-plist
+++ b/databases/sqlite3/pkg-plist
@@ -4,8 +4,7 @@ include/sqlite3.h
lib/libsqlite3.a
lib/libsqlite3.so
lib/libsqlite3.so.8
-lib/libsqlite3.la
-lib/pkgconfig/sqlite3.pc
+libdata/pkgconfig/sqlite3.pc
%%WITH_TCL%%lib/sqlite/libtclsqlite3.so.8
%%WITH_TCL%%lib/sqlite/libtclsqlite3.so
%%WITH_TCL%%lib/sqlite/libtclsqlite3.a