diff options
author | adamw <adamw@FreeBSD.org> | 2016-02-14 01:34:55 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2016-02-14 01:34:55 +0800 |
commit | 0f17571272d2f6de7efc538720cb4bdefbdac668 (patch) | |
tree | 3a7c5794f23cc40f0abd173a0c24c5c5daa92c13 | |
parent | a82a89c3586bcc29803611939aa5c3bc52b1c4bb (diff) | |
download | freebsd-ports-gnome-0f17571272d2f6de7efc538720cb4bdefbdac668.tar.gz freebsd-ports-gnome-0f17571272d2f6de7efc538720cb4bdefbdac668.tar.zst freebsd-ports-gnome-0f17571272d2f6de7efc538720cb4bdefbdac668.zip |
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
-rw-r--r-- | databases/p5-DBD-SQLite/Makefile | 12 | ||||
-rw-r--r-- | databases/p5-DBD-SQLite/distinfo | 4 |
2 files changed, 13 insertions, 3 deletions
diff --git a/databases/p5-DBD-SQLite/Makefile b/databases/p5-DBD-SQLite/Makefile index 87570cf308b1..a8b5075f8832 100644 --- a/databases/p5-DBD-SQLite/Makefile +++ b/databases/p5-DBD-SQLite/Makefile @@ -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 diff --git a/databases/p5-DBD-SQLite/distinfo b/databases/p5-DBD-SQLite/distinfo index d4615d6ff4fd..0d654e36e4d7 100644 --- a/databases/p5-DBD-SQLite/distinfo +++ b/databases/p5-DBD-SQLite/distinfo @@ -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 |