summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/sqlite3/Makefile4
-rw-r--r--databases/sqlite3/pkg-plist3
-rw-r--r--databases/sqlite34/Makefile4
-rw-r--r--databases/sqlite34/pkg-plist3
4 files changed, 10 insertions, 4 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index 6f9dd66..a7ad0b1 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 4dfdc00..7d8f2ea 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
diff --git a/databases/sqlite34/Makefile b/databases/sqlite34/Makefile
index 6f9dd66..a7ad0b1 100644
--- a/databases/sqlite34/Makefile
+++ b/databases/sqlite34/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/sqlite34/pkg-plist b/databases/sqlite34/pkg-plist
index 4dfdc00..7d8f2ea 100644
--- a/databases/sqlite34/pkg-plist
+++ b/databases/sqlite34/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
OpenPOWER on IntegriCloud