forked from Lainports/freebsd-ports
SQLite3 functions were used by cvstrac, and they were recently made intern, causing the linker errors. See: http://osdir.com/ml/sqlite-users/2009-07/msg00300.html Reported by: pointyhat (pav)
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
--- ./Makefile.orig 2009-11-09 17:15:57.000000000 -0500
|
|
+++ ./Makefile 2009-11-09 17:15:57.000000000 -0500
|
|
@@ -0,0 +1,34 @@
|
|
+#!/usr/bin/make
|
|
+#
|
|
+#### The toplevel directory of the source tree.
|
|
+#
|
|
+#SRCDIR = /home/drh/cvstrac/cvstrac
|
|
+
|
|
+#### C Compiler and options for use in building executables that
|
|
+# will run on the platform that is doing the build.
|
|
+#
|
|
+BCC = gcc -g -O2 -I$(LOCALBASE)/include
|
|
+
|
|
+#### The suffix to add to executable files. ".exe" for windows.
|
|
+# Nothing for unix.
|
|
+#
|
|
+E =
|
|
+
|
|
+#### C Compile and options for use in building executables that
|
|
+# will run on the target platform. This is usually the same
|
|
+# as BCC, unless you are cross-compiling.
|
|
+#
|
|
+TCC = gcc -g -O0 -Wall -I$(LOCALBASE)/include
|
|
+
|
|
+#### Extra arguments for linking against SQLite
|
|
+#
|
|
+LIBSQLITE = -L$(LOCALBASE)/lib `pkg-config --static --libs sqlite3` -lcrypt
|
|
+
|
|
+#### Installation directory
|
|
+#
|
|
+INSTALLDIR = $(PREFIX)/bin
|
|
+
|
|
+
|
|
+# You should not need to change anything below this line
|
|
+###############################################################################
|
|
+include $(SRCDIR)/main.mk
|