Files
pkgsrc-ng/lang/tcl/patches/patch-pkgs_sqlite3.13.0_Makefile.in
2016-11-18 22:39:22 +01:00

16 lines
649 B
Plaintext

$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