Module Name:    src
Committed By:   christos
Date:           Mon Feb 17 20:08:53 UTC 2014

Modified Files:
        src/external/public-domain/sqlite/lib: Makefile
Added Files:
        src/external/public-domain/sqlite/lib: sqlite3.pc.in
Removed Files:
        src/external/public-domain/sqlite/lib: sqlite3.pc

Log Message:
auto-generate so that it does not get out of sync again.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/public-domain/sqlite/lib/Makefile
cvs rdiff -u -r1.2 -r0 src/external/public-domain/sqlite/lib/sqlite3.pc
cvs rdiff -u -r0 -r1.1 src/external/public-domain/sqlite/lib/sqlite3.pc.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/sqlite/lib/Makefile
diff -u src/external/public-domain/sqlite/lib/Makefile:1.3 src/external/public-domain/sqlite/lib/Makefile:1.4
--- src/external/public-domain/sqlite/lib/Makefile:1.3	Fri Feb 15 02:59:36 2013
+++ src/external/public-domain/sqlite/lib/Makefile	Mon Feb 17 15:08:53 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2013/02/15 07:59:36 martin Exp $
+# $NetBSD: Makefile,v 1.4 2014/02/17 20:08:53 christos Exp $
 
 LIB=		sqlite3
 INCS=		sqlite3.h sqlite3ext.h
@@ -14,4 +14,12 @@ FILESGRP_sqlite3.pc=	${BINGRP}
 FILESMODE_sqlite3.pc=	${NONBINMODE}
 FILESDIR_sqlite3.pc=	/usr/lib/pkgconfig
 
+CLEANFILES+=sqlite3.pc
+
 .include <bsd.lib.mk>
+
+sqlite3.pc: ${SRCDIR}/sqlite3.h sqlite3.pc.in
+	@(V=$$( (echo '#include <sqlite3.h>'; echo SQLITE_VERSION) | \
+	    ${CC} -E -I${SRCDIR} - | tail -1 | tr -d '"') && \
+	    ${TOOL_SED} -e s/@VERSION@/$$V/ < ${.CURDIR}/sqlite3.pc.in \
+	    > ${.TARGET})

Added files:

Index: src/external/public-domain/sqlite/lib/sqlite3.pc.in
diff -u /dev/null src/external/public-domain/sqlite/lib/sqlite3.pc.in:1.1
--- /dev/null	Mon Feb 17 15:08:53 2014
+++ src/external/public-domain/sqlite/lib/sqlite3.pc.in	Mon Feb 17 15:08:53 2014
@@ -0,0 +1,4 @@
+Name: SQLite
+Description: SQL database engine
+Version: @VERSION@
+Libs: -lsqlite3

Reply via email to