summaryrefslogtreecommitdiff
path: root/databases/py-peewee/patches/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-peewee/patches/patch-setup.py')
-rw-r--r--databases/py-peewee/patches/patch-setup.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/databases/py-peewee/patches/patch-setup.py b/databases/py-peewee/patches/patch-setup.py
index b76e95476db..5cdf338bfa8 100644
--- a/databases/py-peewee/patches/patch-setup.py
+++ b/databases/py-peewee/patches/patch-setup.py
@@ -1,12 +1,15 @@
-$NetBSD: patch-setup.py,v 1.1 2018/10/26 11:57:01 jperkin Exp $
+$NetBSD: patch-setup.py,v 1.2 2019/01/08 08:37:59 adam Exp $
Find libsqlite3.
---- setup.py.orig 2018-08-30 19:16:58.000000000 +0000
+--- setup.py.orig 2018-08-16 18:40:47.000000000 +0000
+++ setup.py
-@@ -75,6 +75,7 @@ def _have_sqlite_extension_support():
+@@ -73,8 +73,9 @@ def _have_sqlite_extension_support():
+ success = False
+ try:
compiler.link_executable(
- compiler.compile([src_file], output_dir=tmp_dir),
+- compiler.compile([src_file], output_dir=tmp_dir),
++ compiler.compile([src_file], output_dir=tmp_dir, include_dirs=['@BUILDLINK_PREFIX.sqlite3@/include']),
bin_file,
+ library_dirs=['@BUILDLINK_PREFIX.sqlite3@/lib'],
libraries=['sqlite3'])