freebsd-ports/devel/cvstrac/files/patch-Makefile
Greg Larkin b0e1be97c3 - Fix linker errors after recent SQLite3 update. Certain non-public
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)
2009-11-09 22:28:39 +00:00

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