aboutsummaryrefslogtreecommitdiff
path: root/databases/sqlite3
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-04-16 03:29:40 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-04-16 03:29:40 +0000
commit21fad01b323c4e9d90438e6652fa3703ea485ac5 (patch)
tree7028954eeb4273ddf3e9a031398b4c3ba74404de /databases/sqlite3
parent4ec773e477f188e26c238a78901f77b0d1d523c5 (diff)
downloadports-21fad01b323c4e9d90438e6652fa3703ea485ac5.tar.gz
ports-21fad01b323c4e9d90438e6652fa3703ea485ac5.zip
- Update to 3.3.5
- Teach sqlite{,3}.pc to use ${PTHREAD_LIBS} when select PTHREAD OPTIONS. - Building docs via ALL_TARGET instead of post-build
Notes
Notes: svn path=/head/; revision=159676
Diffstat (limited to 'databases/sqlite3')
-rw-r--r--databases/sqlite3/Makefile18
-rw-r--r--databases/sqlite3/distinfo6
2 files changed, 11 insertions, 13 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index 8bbb829c6863..150aaeb15964 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= sqlite
-PORTVERSION= 3.3.4
-PORTREVISION= 1
+PORTVERSION= 3.3.5
CATEGORIES= databases
MASTER_SITES= http://www.sqlite.org/
@@ -18,13 +17,12 @@ COMMENT= An SQL database engine in a C library w/ Tcl wrapper
USE_GMAKE= YES
USE_GNOME= pkgconfig
USE_AUTOTOOLS= libtool:15
+USE_DOS2UNIX= *.pc.in
INSTALLS_SHLIB= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX} --with-hints=freebsd.hints
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}3
-
DOCSDIR= ${PREFIX}/share/doc/sqlite3
EXAMPLESDIR= ${PREFIX}/share/examples/sqlite3
@@ -60,12 +58,18 @@ CONFIGURE_ARGS+= --enable-debug
.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOCS)
BUILD_DEPENDS+= tclsh${TCL_V}:${PORTSDIR}/lang/tcl${TCL_V:S/.//}
+ALL_TARGET= all doc
PORTDOCS= *
.endif
post-patch:
+.if defined(WITH_THREADS)
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
${WRKSRC}/configure
+ @${REINPLACE_CMD} -E -e "s|(Libs:.*)|\1 ${PTHREAD_LIBS}|" \
+ -e "s|(Cflags:.*)|\1 ${PTHREAD_CFLAGS}|" \
+ ${WRKSRC}/sqlite.pc.in ${WRKSRC}/sqlite3.pc.in
+.endif
@${REINPLACE_CMD} -e "s|tclsh \$$(TOP)|\$$(TCLSH) \$$(TOP)|g" \
-e "s|./libtool|${LIBTOOL}|g" \
-e "s|\$${HAVE_TCL:1=tcl_install}||" \
@@ -75,12 +79,6 @@ post-patch:
@${ECHO} "config_TARGET_TCL_LIBS=\"-L${PREFIX}/lib -ltcl${TCL_V:S/.//}\"" \
>> ${WRKSRC}/freebsd.hints
-post-build:
-.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOCS)
- @${ECHO_MSG} "===> Building docs"
- @(cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} doc)
-.endif
-
post-install:
.if defined(WITH_TCLWRAPPER)
@${MKDIR} ${PREFIX}/lib/sqlite
diff --git a/databases/sqlite3/distinfo b/databases/sqlite3/distinfo
index 51919e474435..57843f46782a 100644
--- a/databases/sqlite3/distinfo
+++ b/databases/sqlite3/distinfo
@@ -1,3 +1,3 @@
-MD5 (sqlite-3.3.4.tar.gz) = e31b390c294c0ea093f0bed3353fdff2
-SHA256 (sqlite-3.3.4.tar.gz) = e61f85a18443cad333257f8d8fd4c211a4c4ffd9bf66b36c4050fa7207f8898a
-SIZE (sqlite-3.3.4.tar.gz) = 1644139
+MD5 (sqlite-3.3.5.tar.gz) = dd2a7b6f2a07a4403a0b5e17e8ed5b88
+SHA256 (sqlite-3.3.5.tar.gz) = e81d1176960a14459f9ff492b2c4fb1e2b55d0b2c82fd225dbc37afd02334256
+SIZE (sqlite-3.3.5.tar.gz) = 1651536