summaryrefslogtreecommitdiff
path: root/databases/sqlite3
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-08-07 15:36:11 +0000
committerwiz <wiz@pkgsrc.org>2014-08-07 15:36:11 +0000
commit702f304dbc1dbd3315e91724beee0ebdc7d8d6a2 (patch)
tree41361ba4654c96d6f7aea5e9781c3b175b9fc796 /databases/sqlite3
parent87be47a624290823fb34afe3f0c19355ae487c39 (diff)
downloadpkgsrc-702f304dbc1dbd3315e91724beee0ebdc7d8d6a2.tar.gz
Fix build on OS X Tiger/Darwin 8.11.0. From Sevan Janiyan in PR 49081.
Diffstat (limited to 'databases/sqlite3')
-rw-r--r--databases/sqlite3/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index 166ea76d770..a7a93fec3ef 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.80 2014/07/18 11:25:14 ryoon Exp $
+# $NetBSD: Makefile,v 1.81 2014/08/07 15:36:11 wiz Exp $
DISTNAME= sqlite-autoconf-3080500
PKGNAME= sqlite3-3.8.5
@@ -28,8 +28,9 @@ INSTALLATION_DIRS+= ${PKGMANDIR}/man1
CFLAGS.NetBSD+= -DUSE_PREAD
# Darwin < 9 (Mac OS X < 10.5 "Leopard") doesn't have gethostuuid(2)
+# and lacks the zone memory allocator
.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
-CFLAGS+= -DSQLITE_ENABLE_LOCKING_STYLE=0
+CFLAGS+= -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WITHOUT_ZONEMALLOC
.endif
# This define includes the sqlite3_unlock_notify() API in the build.