summaryrefslogtreecommitdiff
path: root/databases/sqlite3
diff options
context:
space:
mode:
authorjperkin <jperkin>2017-02-23 11:07:32 +0000
committerjperkin <jperkin>2017-02-23 11:07:32 +0000
commit04735a1416a1ed7c00439f99e2355e00b117e1b4 (patch)
treef45ab00aa3feddfa4b2f0973170e156a8ffa4ca5 /databases/sqlite3
parent31be961a7c7d361cf34ac9b37625f512fe29cf0a (diff)
downloadpkgsrc-04735a1416a1ed7c00439f99e2355e00b117e1b4.tar.gz
Add workaround for build issue on Darwin, to be removed in the next update.
Diffstat (limited to 'databases/sqlite3')
-rw-r--r--databases/sqlite3/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index 62489b62ec8..44413f73553 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.114 2017/02/13 17:44:01 adam Exp $
+# $NetBSD: Makefile,v 1.115 2017/02/23 11:07:32 jperkin Exp $
.include "Makefile.common"
@@ -25,6 +25,10 @@ INSTALLATION_DIRS+= ${PKGMANDIR}/man1
# only enable it on safe platforms.
CFLAGS.NetBSD+= -DUSE_PREAD
+# This issue is fixed upstream and will be in the next release, so remove this
+# on the next update (https://bugzilla.mozilla.org/show_bug.cgi?id=1340028)
+CFLAGS.Darwin+= -DSQLITE_DISABLE_INTRINSIC
+
# 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].*-*)