pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.13.0_Makefile.in
adam f7831b0593 Changes 8.6.6:
Bug-fix release.
2016-09-03 11:58:01 +00:00

15 lines
649 B
Text

$NetBSD: patch-pkgs_sqlite3.13.0_Makefile.in,v 1.1 2016/09/03 11:58:01 adam Exp $
Fix building with system sqlite3.
--- pkgs/sqlite3.13.0/Makefile.in.orig 2016-01-07 15:38:22.000000000 +0000
+++ pkgs/sqlite3.13.0/Makefile.in
@@ -150,7 +150,7 @@ SHARED_BUILD = @SHARED_BUILD@
INCLUDES = @PKG_INCLUDES@ @TCL_INCLUDES@ -I$(srcdir)/..
#INCLUDES = @PKG_INCLUDES@ @TCL_INCLUDES@ @TK_INCLUDES@ @TK_XINCLUDES@
-PKG_CFLAGS = @PKG_CFLAGS@ -DSQLITE_API=MODULE_SCOPE -DSQLITE_EXTERN=
+PKG_CFLAGS = @PKG_CFLAGS@
# TCL_DEFS is not strictly need here, but if you remove it, then you
# must make sure that configure.in checks for the necessary components