Skip to content

Commit

Permalink
sqlite3.17.0: use -DSQLITE_DISABLE_INTRINSIC to avoid build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Schamschula committed Feb 15, 2017
1 parent d7385a7 commit 41ded45
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions databases/sqlite3/Portfile
@@ -1,7 +1,6 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup compiler_blacklist_versions 1.0

name sqlite3
version 3.17.0
Expand Down Expand Up @@ -33,17 +32,15 @@ checksums rmd160 c198f8c3f91894ba017b7e71a9d6e5c31a9ef12c \
depends_lib port:libedit \
port:ncurses

# clang-602.0.53 fails due to usage of __builtin_add_overflow
compiler.blacklist *gcc-4.2 { clang < 700 }

configure.args --enable-threadsafe \
--enable-dynamic-extensions \
--disable-readline \
--enable-editline \
AWK=/usr/bin/awk

# search in worksrcpath for sqlite3.h first -- dont pick up an installed one!
configure.cppflags-prepend -DSQLITE_ENABLE_COLUMN_METADATA \
configure.cppflags-prepend -DSQLITE_DISABLE_INTRINSIC \
-DSQLITE_ENABLE_COLUMN_METADATA \
-DSQLITE_ENABLE_FTS3_PARENTHESIS \
-DSQLITE_ENABLE_FTS4 \
-DSQLITE_ENABLE_FTS5 \
Expand Down

0 comments on commit 41ded45

Please sign in to comment.