forked from Lainports/freebsd-ports
- 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
This commit is contained in:
parent
4ec773e477
commit
21fad01b32
4 changed files with 22 additions and 26 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue