aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2016-02-13 17:34:55 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2016-02-13 17:34:55 +0000
commit1e83a0c0230d0c058bd84b199471eddd5c2225ab (patch)
tree3a7c5794f23cc40f0abd173a0c24c5c5daa92c13 /databases
parent46813c66cd366b8d6cfa2c9a412f1d713f9501c3 (diff)
downloadports-1e83a0c0230d0c058bd84b199471eddd5c2225ab.tar.gz
ports-1e83a0c0230d0c058bd84b199471eddd5c2225ab.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-DBD-SQLite/Makefile12
-rw-r--r--databases/p5-DBD-SQLite/distinfo4
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