svn commit: r408811 - head/databases/p5-DBD-SQLite
Adam Weinberger
adamw at FreeBSD.org
Sat Feb 13 17:34:57 UTC 2016
Author: adamw
Date: Sat Feb 13 17:34:55 2016
New Revision: 408811
URL: https://svnweb.freebsd.org/changeset/ports/408811
Log:
Update to 1.50. Many changes since 1.48 so it's worth a read through the
Changes file.
Also, add a BUNDLED_SQLITE option, which defaults to on, to choose
whether to use the included sqlite (as it has been) or the installed
library from ports.
Changes: https://metacpan.org/changes/distribution/DBD-SQLite
Modified:
head/databases/p5-DBD-SQLite/Makefile
head/databases/p5-DBD-SQLite/distinfo
Modified: head/databases/p5-DBD-SQLite/Makefile
==============================================================================
--- head/databases/p5-DBD-SQLite/Makefile Sat Feb 13 17:06:39 2016 (r408810)
+++ head/databases/p5-DBD-SQLite/Makefile Sat Feb 13 17:34:55 2016 (r408811)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= DBD-SQLite
-PORTVERSION= 1.48
+PORTVERSION= 1.50
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -21,6 +21,16 @@ PORTSCOUT= limit:^[0-9\.]*$$
USES= perl5
USE_PERL5= configure
+OPTIONS_DEFINE= BUNDLED_SQLITE
+OPTIONS_DEFAULT=BUNDLED_SQLITE
+
+BUNDLED_SQLITE_DESC= Use bundled SQLite (otherwise, from databases/sqlite3)
+BUNDLED_SQLITE_LIB_DEPENDS_OFF= libsqlite3.so:${PORTSDIR}/databases/sqlite3
+BUNDLED_SQLITE_CONFIGURE_OFF= USE_LOCAL_SQLITE=0 SQLITE_LOCATION=${LOCALBASE}
+
+post-patch-BUNDLED_SQLITE-off:
+ ${REINPLACE_CMD} -e 's/if ( 0 )/if ( 1 )/' ${WRKSRC}/Makefile.PL
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/DBD/SQLite/SQLite.so
Modified: head/databases/p5-DBD-SQLite/distinfo
==============================================================================
--- head/databases/p5-DBD-SQLite/distinfo Sat Feb 13 17:06:39 2016 (r408810)
+++ head/databases/p5-DBD-SQLite/distinfo Sat Feb 13 17:34:55 2016 (r408811)
@@ -1,2 +1,2 @@
-SHA256 (DBD-SQLite-1.48.tar.gz) = b397230f5d4cdc9923f91c62da9e535234f3055c528ede75afd7d24698030ea6
-SIZE (DBD-SQLite-1.48.tar.gz) = 1769115
+SHA256 (DBD-SQLite-1.50.tar.gz) = 3ac513ab73944fd7d4b672e1fe885dc522b6369d38f46a68e67e0045bf159ce1
+SIZE (DBD-SQLite-1.50.tar.gz) = 2023829
More information about the svn-ports-head
mailing list