freebsd-ports/databases/rdfdb/files/patch-makefile
Pete Fritchman 190732428e Add rdfdb 0.46, a lightweight RDF database.
PR:		33281
Submitted by:	Philip Jenvey <pjenvey@turntables.org>
2002-06-09 00:35:39 +00:00

16 lines
511 B
Text

$FreeBSD$
--- makefile.orig Sun Aug 20 15:48:46 2000
+++ makefile Sat Jun 8 20:25:04 2002
@@ -1,7 +1,7 @@
-CC = gcc -g
-INCLUDES = -I /usr/local/BerkeleyDB.3.1/include -I expat/xmltok -I expat/xmlparse
-LIBS = -ldb -lpthread
-CPPFLAGS = $(INCLUDES) -L /usr/local/BerkeleyDB.3.1/lib/
+CC ?= gcc -g
+INCLUDES = -I /usr/local/include/db3 -I expat/xmltok -I expat/xmlparse
+LIBS = -ldb3 %%PTHREAD_LIBS%%
+CPPFLAGS += ${CFLAGS} $(INCLUDES) -L /usr/local/lib
OBJS = utils/hash.o \
utils/utils.o \